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

__construct() 공개 메소드

Instantiate the mail object.
public __construct ( string $subj = null, mixed $rcpts = null ) : Mail
$subj string
$rcpts mixed
리턴 Mail
    public function __construct($subj = null, $rcpts = null)
    {
        $this->subject = $subj;
        $this->queue = new Queue();
        $this->message = new Message($this);
        if (null !== $rcpts) {
            $this->addRecipients($rcpts);
        }
    }