| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 348 | All time: 7,018 This week: 560 | ||||
| Version | License | PHP version | Categories | |||
| tiny-mailer 1.0.4 | Custom (specified... | 5 | Email, PHP 5 |
| Description | Author | |
This class can compose and send email messages with mail() function. |
Light-weight PHP mailer that uses the mail() function. Plain text only. Nothing fancy. UTF-8 capable.
use peterkahl\tinyMailer\tinyMailer;
$body = '???? Jane,
I am so happy to use this simple mailer.
John Roe';
$arr = array(
'sendto-name' => 'Jane Doe',
'sendto-mail' => '[email protected]',
'from-name' => 'John Roe',
'from-mail' => '[email protected]',
'message-txt' => $body,
'subject' => 'Some subject text ?????',
);
$id = tinyMailer::send($arr);
if ($id === false) {
echo 'Failed';
}
else {
echo 'Successfuly sent message with ID '. $id;
}
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Lic. | License text | |||
| Doc. | Documentation | |||
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.