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