function mime_mail::add_attachment in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 includes/destinations.email.inc \mime_mail::add_attachment()
- 6.3 includes/destinations.email.inc \mime_mail::add_attachment()
- 6.2 includes/destinations.email.inc \mime_mail::add_attachment()
- 7.3 includes/destinations.email.inc \mime_mail::add_attachment()
- 7.2 includes/destinations.email.inc \mime_mail::add_attachment()
1 call to mime_mail::add_attachment()
- mime_mail::send in includes/
destinations.email.inc
File
- includes/
destinations.email.inc, line 105 - Functions to handle the email backup destination.
Class
Code
function add_attachment($message, $name = "", $ctype = "application/octet-stream", $encode = NULL, $attach = FALSE) {
$this->parts[] = array(
"ctype" => $ctype,
"message" => $message,
"encode" => $encode,
"name" => $name,
"attach" => $attach,
);
}