Page tree
Skip to end of metadata
Go to start of metadata
$mail = FreePBX::Mail();
$mail->setFrom('myscript&','Test Script');//Optional defaults to sysadmin from email or user@host
$mail->setSubject("This is a test email"); //optional default: Notification from FreePBX
$mail->setTo(array('' => 'James Smith', ''));
$body = 'Spicy jalapeno bacon ipsum dolor amet andouille shoulder burgdoggen cow jowl. Shank ball tip jerky, venison cupim biltong turducken sirloin capicola hamburger';

  • No labels