public function MailgunHandlerInterface::getDomain in Mailgun 8
Parses and returns domain based on the email "From" value.
Parameters
string $from: "From" parameter of the mail message.
Return value
string|bool Returns domain name or FALSE if we couldn't parse it.
1 method overrides MailgunHandlerInterface::getDomain()
- MailgunHandler::getDomain in src/
MailgunHandler.php - Parses and returns domain based on the email "From" value.
File
- src/
MailgunHandlerInterface.php, line 47
Class
- MailgunHandlerInterface
- The interface for Mailgun handler service.
Namespace
Drupal\mailgunCode
public function getDomain($from);