2017 © Pedro Peláez
 

library swiftmail

An implementation of the Facade pattern for Swift Mailer 5 and later

image

fterenzani/swiftmail

An implementation of the Facade pattern for Swift Mailer 5 and later

  • Tuesday, July 30, 2013
  • by fterenzani
  • Repository
  • 1 Watchers
  • 1 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SwiftMail is an implementation of the Facade pattern for Swift Mailer 4.x: a powerful component based mailing library for PHP by Chris Corbyn., (*1)

A simple e-mail can be sent in this way:, (*2)

SwiftMail::newInstance($subject, $message)
    ->setTo($to)
    ->setFrom($from)
    ->send()
;

By default SwiftMail try to send emails using the Swift_MailTransport (that use the mail function of PHP). The default transport can be changed using the static method SwiftMail::setDefaultTransport., (*3)

$smtp = Swift_SmtpTransport::newInstance($host, $port)
    ->setUsername($user)
    ->setPassword($pass)
;

SwiftMail::setDefaultTransport($smtp);

A list of Tranports is available in the Swift Mailer documentation., (*4)

The Versions

30/07 2013

dev-master

9999999-dev https://github.com/fterenzani/SwiftMail

An implementation of the Facade pattern for Swift Mailer 5 and later

  Sources   Download

LGPL

The Requires

 

mail swiftmailer mailer

30/07 2013

1.1

1.1.0.0 https://github.com/fterenzani/SwiftMail

An implementation of the Facade pattern for Swift Mailer 5 and later

  Sources   Download

LGPL

The Requires

 

mail swiftmailer mailer