
 lien pham - 2012-04-11 19:03:48
 
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);