Pop\Mail\Mail::getMessage PHP Method

getMessage() public method

Get the mail message
public getMessage ( ) : Message
return Message
    public function getMessage()
    {
        return $this->message;
    }

Usage Example

Ejemplo n.º 1
0
 public function testInitException()
 {
     $this->setExpectedException('Pop\\Mail\\Exception');
     $m = new Mail('Subject', array('name' => 'Bob Smith', 'email' => '*****@*****.**'));
     $m->getMessage()->init();
 }