|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct ($charset='utf-8') | |
| setMessageType ($type) | |
| setBody ($body) | |
| setSubject ($subject) | |
| getSubject () | |
| getBody () | |
| setFrom ($fromAddress) | |
| addTo ($toAddress) | |
| addCc ($ccAddress) | |
| addBcc ($bccAddress) | |
| setReplyTo ($replyToAddress) | |
| getRawMessage () | |
| setBodyHtml ($html) | |
| setBodyText ($text) | |
Additional Inherited Members |
Definition at line 11 of file Message.php.
| __construct | ( | $charset = 'utf-8' | ) |
| addBcc | ( | $bccAddress | ) |
{Add bcc address
| string | array | $bccAddress |
Implements MessageInterface.
Definition at line 120 of file Message.php.
| addCc | ( | $ccAddress | ) |
{Add cc address
| string | array | $ccAddress |
Implements MessageInterface.
Definition at line 111 of file Message.php.
| addTo | ( | $toAddress | ) |
{Add to address
| string | array | $toAddress |
Implements MessageInterface.
Definition at line 102 of file Message.php.
| getBody | ( | ) |
{Get message body
Implements MessageInterface.
Definition at line 85 of file Message.php.
| getRawMessage | ( | ) |
{Get message source code.
Implements MailMessageInterface.
Definition at line 138 of file Message.php.
| getSubject | ( | ) |
{Get message subject
Implements MessageInterface.
Definition at line 77 of file Message.php.
| setBody | ( | $body | ) |
{Set message body
| mixed | $body |
Implements MessageInterface.
Definition at line 56 of file Message.php.
| setBodyHtml | ( | $html | ) |
{Set mail message body in HTML format.
| string | $html |
Implements MailMessageInterface.
Definition at line 162 of file Message.php.
| setBodyText | ( | $text | ) |
{Set mail message body in text format.
| string | $text |
Implements MailMessageInterface.
Definition at line 171 of file Message.php.
| setFrom | ( | $fromAddress | ) |
{Set from address
| string | array | $fromAddress |
Implements MessageInterface.
Definition at line 93 of file Message.php.
| setMessageType | ( | $type | ) |
{Set message type
| string | $type |
Implements MessageInterface.
Definition at line 43 of file Message.php.
| setReplyTo | ( | $replyToAddress | ) |
{Set reply-to address
| string | array | $replyToAddress |
Implements MessageInterface.
Definition at line 129 of file Message.php.
| setSubject | ( | $subject | ) |
{Set message subject
| string | $subject |
Implements MessageInterface.
Definition at line 68 of file Message.php.