From 9eeded33f68872515954a2fc177fcb47a9273ae9 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 15 Aug 2014 17:23:41 -0700 Subject: Add email notifications --- vendor/swiftmailer/classes/Swift/MailTransport.php | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 vendor/swiftmailer/classes/Swift/MailTransport.php (limited to 'vendor/swiftmailer/classes/Swift/MailTransport.php') diff --git a/vendor/swiftmailer/classes/Swift/MailTransport.php b/vendor/swiftmailer/classes/Swift/MailTransport.php new file mode 100644 index 00000000..a6d3340d --- /dev/null +++ b/vendor/swiftmailer/classes/Swift/MailTransport.php @@ -0,0 +1,45 @@ +createDependenciesFor('transport.mail') + ); + + $this->setExtraParams($extraParams); + } + + /** + * Create a new MailTransport instance. + * + * @param string $extraParams To be passed to mail() + * + * @return Swift_MailTransport + */ + public static function newInstance($extraParams = '-f%s') + { + return new self($extraParams); + } +} -- cgit v1.2.3