Jump to content

Phpmailer


djp1988
 Share

Recommended Posts

Hello, I have a problem,I'm using PHPMailer, and just trying out the sample files, looks promising, but, I'm trying to add a pdf attachment, and so I am adding the following line: $mail->AddAttachment("document.pdf"); // attachmentHowever, although the email size goes up to just over the size of the pdf document (therefore, the pdf data IS there), it isn't displaying in my list of attached files and I can't see it anywhere in my email.What could the problem be? I am using PHPMailer_v5.1

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...