dev-master
9999999-dev https://github.com/rcrowe/Swift_PostmarkTransportSend emails with SwiftMailer using Postmark as the transport
BSD-3-Clause
The Requires
- php >=5.2.4
The Development Requires
by Rob Crowe
email swiftmailer postmark
Wallogit.com
2017 © Pedro PelĂĄez
Send emails with SwiftMailer using Postmark as the transport
Send emails with SwiftMailer using Postmark as the transport., (*1)
Original author: Ăystein Riiser Gundersen oysteinrg@gmail.com, (*2)
Forked to github by: Rob Crowe hello@vivalacrowe.com, (*3)
The Postmark transport is provided as Composer package which can be installed by adding the package to your composer.json file:, (*4)
{
"require": {
"rcrowe\Swift_PostmarkTransport": "0.1.*"
}
}
$transport = \rcrowe\Swift\Transport\Postmark::newInstance('POSTMARK_API_KEY');
$mailer = Swift_Mailer::newInstance($transport);
$message = Swift_Message::newInstance('Subjebt')
->setFrom('hello@vivalacrowe.com')
->setTo('')
->setBody('This can be any text from the web app');
$mailer->send($message);
Send emails with SwiftMailer using Postmark as the transport
BSD-3-Clause
email swiftmailer postmark