Jump to content

E-mail attachment


diar33

Recommended Posts

Hi there,

I am trying to find a way to have a php contact form attach a file, but without having to upload it to the server first. Is this at all possible? I have been using the 'PHP Mailer' class for attachments, and can send a file that exists on the server no prob. I realize I can't send it from a remote location (The senders' harddrive), but is it possible to send from a temp location using $_FILES? Will I have to actually upload the file and then delete it afterwards?

Thanks in advance,

Travis
Link to comment
https://forums.phpfreaks.com/topic/26386-e-mail-attachment/
Share on other sites

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.