Created
October 10, 2013 18:55
-
-
Save anonymous/6923552 to your computer and use it in GitHub Desktop.
Swiftmailer/silex delivery address attempt
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
$app->register( | |
new Silex\Provider\SwiftmailerServiceProvider(), | |
array( | |
'swiftmailer.options' => array( | |
'sender_address' => $sender, | |
'transport' => 'smtp', | |
'encryption' => null, | |
'auth_mode' => 'login', | |
'host' => $server, | |
'port' => $port', | |
'username' => $user, | |
'password' => $pass | |
) | |
) | |
); | |
$app['mailer']->registerPlugin(new Swift_Plugins_RedirectingPlugin($dev_email_address)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment