File transport

The null transport will just store the message in memory. It is helpful when unit testing.

 Methods

Get the last message sent

getLastMessage() : \Zend\Mail\Message

Takes the last message and Saves it for testing

send(\Zend\Mail\Message $message) : 

Parameters

Returns

 Properties

 

$lastMessage

$lastMessage : \Zend\Mail\Message