Pop\Mail\Mail::setBoundary PHP Method

setBoundary() public method

Set MIME boundary
public setBoundary ( string $bnd = null ) : Mail
$bnd string
return Mail
    public function setBoundary($bnd = null)
    {
        $this->message->setBoundary($bnd);
        return $this;
    }

Usage Example

コード例 #1
0
ファイル: MailTest.php プロジェクト: nicksagona/PopPHP
 public function testSetAndGetBoundary()
 {
     $m = new Mail();
     $m->setBoundary('some-boundary');
     $this->assertEquals('some-boundary', $m->getBoundary());
 }