Open r0073rr0r opened 7 years ago
Please provide code and/or unit test to reproduce the error. I tried the following test and it works:
public function testAllowMessageWithEmptySubject()
{
$message = new Message();
$message->addTo('matthew@zend.com')
->setSender('ralph.schindler@zend.com', 'Ralph Schindler')
->setBody('This is only a test.');
$this->transport->send($message);
}
This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at https://github.com/laminas/laminas-mail/issues/42.
If subject is NULL (mail have no subject) I got this exception
Need to handle NULL subject without error/exception.