Jump to content

How To Send An E-Mail With An Attachment?


TheScripter

Recommended Posts

Alright so I have use the PHP mail() function pretty extensively, however for my new site I will need to collect a filled fillable pdf file downloaded from my site, pull it from the files array, then send it to my e-mail so I can look at it later. I can do all of it except attach the .pdf file. How would I go about this? Please don't give me complete code because that is too easy. :) I wan't to figure it out myself but the tutorials simply don't explain what is happening.

Well I want to do it with just normal php. Anyone have a snippet they can explain to me?

What do you mean by "just normal php" ?

I'm using swiftmailer. You have to spend maximum 30 min, to configure the script for you....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.