I'm using PHPMailer and I've built a form to send a resume automatically. The person browses for the resume and then attaches it then clicks submit and it is sent.
I have magic quotes turned off and am sending the form via post method and it is gathering the info ok. But when I use AddAttachment, it sends the mail with all other all other attachments (I also have an AddStringAttachment)... but not this one. I'm using a recent version in which the multiple attachments bug is supposed to be fixed but it seems like it is still affecting me.
Below is the code I am using to attach the file:
if(!$mail->AddAttachment($resume)){
print("Attachment not found; failed to send.");
};
Any suggestions??