You are here

public function HtmlMailMime::getMessage in HTML Mail 8.3

Same name and namespace in other branches
  1. 8 src/Utility/HTMLMailMime.php \Drupal\htmlmail\Utility\HTMLMailMime::getMessage()

Returns the complete email, 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 339

Class

HtmlMailMime
Class HtmlMailMime.

Namespace

Drupal\htmlmail\Utility

Code

public function getMessage($separation = NULL, $params = NULL, $headers = NULL, $overwrite = FALSE) {
  return self::successful(parent::getMessage($separation, $params, $headers, $overwrite));
}