Pop\Mail\Mail::getMessage PHP 메소드

getMessage() 공개 메소드

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

Usage Example

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