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
 /**
  * Set MIME boundary
  *
  * @param  string $bnd
  * @return \Pop\Mail\Mail
  */
 public function setBoundary($bnd = null)
 {
     $this->message->setBoundary($bnd);
     return $this;
 }