| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | 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;
}
|  Files (4) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  src (1 file) | ||||
|    composer.json | Data | Auxiliary data | ||
|    LICENSE | Lic. | License text | ||
|    README.md | 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. | 
|  Install with Composer | 
| 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.
 If you know an application of this package, send a message to the author to add a link here.