public function EmailInterface::setFrom in Commerce Email 8
Sets the "from" address.
Parameters
string $from: The "from" address.
Return value
$this
1 method overrides EmailInterface::setFrom()
- Email::setFrom in src/
Entity/ Email.php - Sets the "from" address.
File
- src/
Entity/ EmailInterface.php, line 77
Class
- EmailInterface
- @todo Add CC and BCC (and support multiple). @todo Support a plain-text version of the body?
Namespace
Drupal\commerce_email\EntityCode
public function setFrom($from);