Hi,
I was wondering if anyone has experience with using PHPMailer. I have just started using it and have problems sending a pdf file as an attachment with my emails. The file is attached ok but when you go to open it, it is blank.
This is the line of code I have used to send the attachment.
$mail->AddAttachment("bookings2.pdf", "new_file.pdf", "base64", "application/octet-stream");
If anyone could help me it would be greatly appreciated.
thanks
Peter
Attachments with PHPMailer