|
|
@ -97,7 +97,7 @@ class Message extends BaseMessage |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @inheritdoc |
|
|
|
* @inheritdoc |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function text($text) |
|
|
|
public function textBody($text) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$this->setBody($text, 'text/plain'); |
|
|
|
$this->setBody($text, 'text/plain'); |
|
|
|
return $this; |
|
|
|
return $this; |
|
|
@ -106,7 +106,7 @@ class Message extends BaseMessage |
|
|
|
/** |
|
|
|
/** |
|
|
|
* @inheritdoc |
|
|
|
* @inheritdoc |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function html($html) |
|
|
|
public function htmlBody($html) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$this->setBody($html, 'text/html'); |
|
|
|
$this->setBody($html, 'text/html'); |
|
|
|
return $this; |
|
|
|
return $this; |
|
|
|