Pop\Mail\Message::setEol PHP Method

setEol() public method

Set EOL
public setEol ( string $eol = Mail::CRLF ) : Mail
$eol string
return Mail
    public function setEol($eol = Mail::CRLF)
    {
        $this->eol = $eol;
        return $this;
    }

Usage Example

Example #1
0
 /**
  * Set EOL
  *
  * @param  string $eol
  * @return \Pop\Mail\Mail
  */
 public function setEol($eol = Mail::CRLF)
 {
     $this->message->setEol($eol);
     return $this;
 }