You are here

public function mime_mail::add_attachment in Backup and Migrate 7.3

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. 6.2 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 114
Functions to handle the email backup destination.

Class

mime_mail

Code

public function add_attachment($message, $name, $ctype) {
  $this->parts[] = array(
    "message" => $message,
    "name" => $name,
    "ctype" => $ctype,
  );
}