Pop\Mail\Message::setHtml PHP Method

setHtml() public method

Set HTML part of the message.
public setHtml ( string $html ) : Message
$html string
return Message
    public function setHtml($html)
    {
        $this->html = $html;
        return $this;
    }

Usage Example

Example #1
0
 /**
  * Set HTML part of the message.
  *
  * @param  string $html
  * @return \Pop\Mail\Mail
  */
 public function setHtml($html)
 {
     $this->message->setHtml($html);
     return $this;
 }