You are here

function mime_mail::add_attachment in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/destinations.email.inc \mime_mail::add_attachment()
  2. 8.3 includes/destinations.email.inc \mime_mail::add_attachment()
  3. 6.3 includes/destinations.email.inc \mime_mail::add_attachment()
  4. 7.3 includes/destinations.email.inc \mime_mail::add_attachment()
  5. 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

mime_mail

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,
  );
}