public function HTMLMailMime::getMessage in HTML Mail 8
Same name and namespace in other branches
- 8.3 src/Utility/HtmlMailMime.php \Drupal\htmlmail\Utility\HtmlMailMime::getMessage()
Returns the complete e-mail, ready to send.
Parameters
string $separation: (optional) The string used to separate header and body parts.
string $params: (optional) Build parameters for the MailMimeInterface::get() method.
string $headers: (optional) The extra headers that should be passed to the self::headers() method.
bool $overwrite: TRUE if $headers parameter should overwrite previous data.
Return value
string The complete message as a string if successful; otherwise FALSE.
File
- src/
Utility/ HTMLMailMime.php, line 329 - Provides the MailMIME class for creating MIME-formatted email messages.
Class
- HTMLMailMime
- Class HTMLMailMime.
Namespace
Drupal\htmlmail\UtilityCode
public function getMessage($separation = NULL, $params = NULL, $headers = NULL, $overwrite = FALSE) {
return self::successful(parent::getMessage($separation, $params, $headers, $overwrite));
}