InMemory transport

This transport will just store the message in memory. It is helpful when unit testing, or to prevent sending email when in development or 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