Created
August 30, 2011 09:10
-
-
Save vatson/1180508 to your computer and use it in GitHub Desktop.
mail config
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
<?php | |
$adapter = new SwiftAdapter(new Swift()); | |
$serializer = new Serializer( | |
array(new DataHolderNormailizer), | |
array('html' => new HtmlEncoder()) | |
); | |
$configuration = new DataHolder(); | |
$configuration->set('to', '[email protected]') | |
->set('from', '[email protected]') | |
->set('format', 'html') | |
; | |
$mailer = new MailSender($adapter, $serializer, $configuration); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cool