getMessage() public method

Get the mail message
public getMessage ( ) : Message
return Message
Example #1
0
 public function testInitException()
 {
     $this->setExpectedException('Pop\\Mail\\Exception');
     $m = new Mail('Subject', array('name' => 'Bob Smith', 'email' => '*****@*****.**'));
     $m->getMessage()->init();
 }