2017 © Pedro Peláez
 

library alternative-mail

Simple class for utf8 html/text emails with small attachments

image

m8rge/alternative-mail

Simple class for utf8 html/text emails with small attachments

  • Monday, November 10, 2014
  • by m8rge
  • Repository
  • 1 Watchers
  • 0 Stars
  • 53 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

AlternativeMail Build Status SensioLabsInsight

Simple php class for utf8 html/text emails with small attachments, (*1)

Using

$email = new AlternativeMail();
$email->setFrom('me@mail.localhost')
    ->addTo('bro@mail.localhost')
    ->setSubject('True story, bro')
    ->setTextBody("simple\ntext\nbody")
    ->send();

or, (*2)

$email = new AlternativeMail();
$email->setFrom('me@mail.localhost', 'Your brother')
    ->addTo('bro@mail.localhost', 'My Bro')
    ->addTo('bro2@mail.localhost', 'My Bro, too')
    ->setSubject('True story, bro')
    ->setTextBody("simple\ntext\nbody")
    ->setHtmlBody('<hr />html message<hr />')
    ->addAttachment(__FILE__, 'forceName.php', 'application/x-php')
    ->send();

The Versions

10/11 2014

dev-master

9999999-dev

Simple class for utf8 html/text emails with small attachments

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

mail utf-8 simple standalone no-dependency attachment small utf8

31/08 2013

v0.9

0.9.0.0

Simple class for utf8 html/text emails with small attachments

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

mail utf-8 simple standalone no-dependency attachment small utf8