0
谁能帮助我使用Drupal mimemail用于连接我使用下文提到的代码以发送特定的电子邮件附件的文件,但不知何故,它不工作,kinldy帮我在此先感谢Drupal的6 Mimemail与附件
$body = "test body with attachments";
$subject = "My test message";
$attachments[]=array(
'filepath' => file_directory_path().'/document.pdf',
'filename' => 'wonderful.pdf',
'filemime' => 'application/pdf',
);
mimemail("[email protected]", "[email protected]", $subject, $body, NULL, array(), NULL, $attachments,'');