i'm using test_attachment_message.php. It was emailing the pdf to my address before, but now it's giving me the error above. any help would be appreciated!
here's the code i am using:
$application_attachment=array(
"Data"=>"Weekly Usage Report.",
"FileName"=>"pdf/weekly9_10_19_2011.pdf",
"Content-Type"=>"automatic/name",
"Disposition"=>"attachment"
);
$email_message->AddFilePart($application_attachment);
Manuel Lemos - 2012-06-15 08:04:56 - In reply to message 3 from Slawomir Kaniecki
If you are using images from a remote site, you do not need to add the image files to the message. Just remove the code that adds the image to the message.