1. Go to this page and download the library: Download pulli/emate library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pulli / emate example snippets
// First symlink emate, if not already done so
\Pulli\Emate\Emate::symlink();
// The values below are also the default values.
// No parameter in the array is actually cts or string separated by newline with email addresses
'from' => '', // email address or Symfony\Component\Mime\Address object
'cc' => [], // array of email addresses or Symfony\Component\Mime\Address objects or string separated by newline with email addresses
'bcc' => [], // array of email addresses or Symfony\Component\Mime\Address objects or string separated by newline with email addresses
'files' => [], // array of file paths or string separated by newline with file paths
'reply_to' => '', // email address or Symfony\Component\Mime\Address object
'markdown' => false, // boolean
'encrypt' => false, // boolean
'sign' => false, // boolean
'send_now' => false, // boolean
'encryption_mode' => 'openpgp', // string: mime or openpgp
])->mail();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.