PHP code example of jacobemerick / archangel
1. Go to this page and download the library: Download jacobemerick/archangel 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/ */
jacobemerick / archangel example snippets
(new Jacobemerick\Archangel\Archangel())
->addTo('[email protected]')
->setSubject('Test Subject')
->setPlainMessage('This is a rather plain message.')
->send();
$archangel = new Jacobemerick\Archangel\Archangel();
$archangel->addTo('[email protected]');
$archangel->setSubject('Test Subject');
$archangel->setPlainMessage('This is a rather plain message.');
$archangel->send();