diff --git a/.env.example b/.env.example index a812fa2..f8dc1f0 100644 --- a/.env.example +++ b/.env.example @@ -8,6 +8,11 @@ WP_ENV=development WP_HOME=http://example.com WP_SITEURL=${WP_HOME}/cms +MAIL_HOST=smtp.mailtrap.io +MAIL_PORT=2525 +MAIL_USERNAME=null +MAIL_PASSWORD=null + # Generate your keys using composer command wp:salts AUTH_KEY='generateme' SECURE_AUTH_KEY='generateme' diff --git a/wp-config.php b/wp-config.php index a62ef5a..13b3a70 100644 --- a/wp-config.php +++ b/wp-config.php @@ -65,6 +65,14 @@ define( 'AUTOMATIC_UPDATER_DISABLED', true ); define( 'DISABLE_WP_CRON', env( 'DISABLE_WP_CRON', false ) ); +/** + * Mail Settings + */ +define( 'JC_MAIL_HOST', env( 'MAIL_HOST', 'smtp.mailtrap.io' ) ); +define( 'JC_MAIL_PORT', env( 'MAIL_PORT', '2525' ) ); +define( 'JC_MAIL_USERNAME', env( 'MAIL_USERNAME' ) ); +define( 'JC_MAIL_PASSWORD', env( 'MAIL_PASSWORD' ) ); + /** * Sets up WordPress vars and included files. */