任何人都能够帮助我收到多管齐下使用的mail子,以寄送特定电子邮件的查封文件,但不管其是否工作,都会事先帮助我。
$body = "test body with attachments";
$subject = "My test message";
$attachments[]=array(
filepath => file_directory_path(). /document.pdf ,
filename => wonderful.pdf ,
filemime => application/pdf ,
);
mimemail("xxxxx@gmail.com", "xxxxxx2@gmail.com", $subject, $body, NULL, array(), NULL, $attachments, );