diff --git a/.env.example b/.env.example index 7f8fddb2..0d4253b3 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,12 @@ DB_NAME=wordpress DB_USER=homestead DB_PASSWORD=secret -GOOGLE_ANALYTICS_ID= +MAIL_HOST=mailtrap.io +MAIL_PORT=2525 +MAIL_USERNAME=null +MAIL_PASSWORD=null + +GOOGLE_ANALYTICS_ID=null AUTH_KEY=yourrandomstring SECURE_AUTH_KEY=yourrandomstring diff --git a/CHANGELOG.md b/CHANGELOG.md index fa93f75b..39a9e0b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG +## 2.5.0 (released 2015-05-21) + +- Fix Permalink Update Method Bug (#104) +- Move Docs to Website (#102) +- Add Test Coverage (#103) +- Add Mail Configuration (#100) + ## 2.4.0 (released 2015-05-10) - Add post revisions to config (#98) diff --git a/composer.json b/composer.json index 8532769e..5fc707e4 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "wordplate/framework": "2.4.*", + "wordplate/framework": "2.5.*", "wpackagist-plugin/advanced-custom-fields": "~4.0", "wpackagist-plugin/tiny-compress-images": "~1.0", "wpackagist-plugin/wordpress-importer": "~0.6", diff --git a/config/mail.php b/config/mail.php new file mode 100644 index 00000000..c94644cb --- /dev/null +++ b/config/mail.php @@ -0,0 +1,86 @@ + env('MAIL_HOST', 'smtp.mailgun.org'), + + /* + |-------------------------------------------------------------------------- + | SMTP Host Port + |-------------------------------------------------------------------------- + | + | This is the SMTP port used by your application to deliver e-mails to + | users of the application. Like the host we have set this value to + | stay compatible with the Mailgun e-mail application by default. + | + */ + + 'port' => env('MAIL_PORT', 587), + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all e-mails sent by your application to be sent from + | the same address. Here, you may specify a name and address that is + | used globally for all e-mails that are sent by your application. + | + */ + + 'from' => [ + 'address' => null, + 'name' => null, + ], + + /* + |-------------------------------------------------------------------------- + | E-Mail Encryption Protocol + |-------------------------------------------------------------------------- + | + | Here you may specify the encryption protocol that should be used when + | the application send e-mail messages. A sensible default using the + | transport layer security protocol should provide great security. + | + */ + + 'encryption' => 'tls', + + /* + |-------------------------------------------------------------------------- + | SMTP Server Username + |-------------------------------------------------------------------------- + | + | If your SMTP server requires a username for authentication, you should + | set it here. This will get used to authenticate with your server on + | connection. You may also set the "password" value below this one. + | + */ + + 'username' => env('MAIL_USERNAME'), + + /* + |-------------------------------------------------------------------------- + | SMTP Server Password + |-------------------------------------------------------------------------- + | + | Here you may set the password required by your SMTP server to send out + | messages from your application. This will be given to the server on + | connection so that the application will be able to send messages. + | + */ + + 'password' => env('MAIL_PASSWORD'), + +];