public function mime_mail::build_multipart in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/destinations.email.inc \mime_mail::build_multipart()
- 8.3 includes/destinations.email.inc \mime_mail::build_multipart()
- 6.3 includes/destinations.email.inc \mime_mail::build_multipart()
- 6.2 includes/destinations.email.inc \mime_mail::build_multipart()
- 7.2 includes/destinations.email.inc \mime_mail::build_multipart()
1 call to mime_mail::build_multipart()
- mime_mail::send in includes/
destinations.email.inc
File
- includes/
destinations.email.inc, line 149 - Functions to handle the email backup destination.
Class
Code
public function build_multipart($boundary) {
$multipart = "This is a MIME encoded message.\r\n\r\n--{$boundary}";
for ($i = count($this->parts) - 1; $i >= 0; $i--) {
$multipart .= "\r\n" . $this
->build_message($this->parts[$i]) . "--{$boundary}";
}
return $multipart . "--\r\n";
}