public function EmailHandlerInterface::sendEmail in Easy Email 2.0.x
Same name and namespace in other branches
- 8 src/Service/EmailHandlerInterface.php \Drupal\easy_email\Service\EmailHandlerInterface::sendEmail()
Sends an email entity.
Parameters
\Drupal\easy_email\Entity\EasyEmailInterface $email: The email entity to send
array $params: The initial params array
bool $send_duplicate: Send email even if another email with the same unique key has been sent. (default = false)
Return value
bool TRUE is sending is successful, FALSE if failed.
1 method overrides EmailHandlerInterface::sendEmail()
- EmailHandler::sendEmail in src/
Service/ EmailHandler.php - @inheritDoc
File
- src/
Service/ EmailHandlerInterface.php, line 43
Class
Namespace
Drupal\easy_email\ServiceCode
public function sendEmail(EasyEmailInterface $email, $params = [], $send_duplicate = FALSE);