Created
January 10, 2019 03:44
-
-
Save KINKCreative/3794b21f755a81355783da204d028d33 to your computer and use it in GitHub Desktop.
SilverStripe Mailgun/SMTP Mail Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Name: myemailconfig | |
After: | |
- '#emailconfig' | |
--- | |
SilverStripe\Core\Injector\Injector: | |
Swift_Transport: | |
class: Swift_SmtpTransport | |
properties: | |
Host: smtp.mailgun.org | |
Port: 587 | |
Encryption: tls | |
calls: | |
Username: [ setUsername, ['postmaster@mg.xxxx.xxx'] ] | |
Password: [ setPassword, ['xxxxxxxxxxxxxxx'] ] | |
AuthMode: [ setAuthMode, ['login'] ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment