Download the PHP package mm-psiiirus/psiiiphpmailer without Composer
On this page you can find all versions of the php package mm-psiiirus/psiiiphpmailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package psiiiphpmailer
PsiiiPhpMailer
Extended PHPMailer to implement a Symfony-Swiftmailer like spooling mechanic.
...
/**
* load PostOffice Class
*/
$spoolDir = dirname(__FILE__) . '/spool';
$mailSpoolSender = new \Psiii\Mailer\MailFileSpool($spoolDir);
$transporterGmail = new \Psiii\Mailer\TransporterGmail('[email protected]','acme-my-pass');
$postOffice = new \Psiii\Mailer\PostOffice($mailSpoolSender, $transporterGmail);
/**
* create Mail object
*/
$mail = $postOffice->createMail();
var_dump($psiiiMailer);
/**
* gmail smtp
*/
#$mail->SMTPDebug = 3; // Enable verbose debug output
$mail->setFrom('[email protected]', 'Mailer');
$mail->addAddress('[email protected]', 'Joe User'); // Add a recipient
$mail->addReplyTo('[email protected]', 'Information');
$mail->Subject = 'Here is the subject';
$mail->Body = 'This is the HTML message body <b>in bold!</b>';
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
$postOffice->send();
/**
* Cron to send file-spooled mails
*/
...
$spoolDir = dirname(__FILE__).'/spool';
$mailSpoolSender = new \Psiii\Mailer\MailFileSpool($spoolDir);
$mailSpoolSender->send();All versions of psiiiphpmailer with dependencies
PHP Build Version
Package Version
The package mm-psiiirus/psiiiphpmailer contains the following files
Loading the files please wait ...