Habia visto ese documento... pero lo he seguido y no se lo que hago mal
Código PHP:
<?php
use ZendMailMessage;
use ZendMailTransportSendmail;
use ZendMailTransportSendmail as SendmailTransport;
$message = new Message();
$message->addTo('[email protected]')
->addFrom('[email protected]')
->setSubject('Greetings and Salutations!')
->setBody("Sorry, I'm going to be late today!");
$message->setEncoding('utf-8');
$transport = new SendmailTransport();
$transport->send($message);
?>