Pop\Mail\Message::setBoundary PHP 메소드

setBoundary() 공개 메소드

Set MIME boundary
public setBoundary ( string $bnd = null ) : Message
$bnd string
리턴 Message
    public function setBoundary($bnd = null)
    {
        $this->mimeBoundary = null !== $bnd ? $bnd : sha1(time());
        return $this;
    }

Usage Example

예제 #1
0
파일: Mail.php 프로젝트: nicksagona/PopPHP
 /**
  * Set MIME boundary
  *
  * @param  string $bnd
  * @return \Pop\Mail\Mail
  */
 public function setBoundary($bnd = null)
 {
     $this->message->setBoundary($bnd);
     return $this;
 }