Jump to content

How to send email attachment ?


tmyonline

Recommended Posts

Hi guys,

 

My mail form works fine.  Now, suppose I need code it so that it allows people to attach a document to their email message.  The way I would do, probably not the right way, is to code it so that when the "Send Mail" button is clicked, the attached document will be uploaded to the server and in the message that is sent, I can include a link to that uploaded document.  When a user receives the email, he can click on the link to get to the attachment.  I have a feeling that this is not the right way.  What would be your approach ?  Thanks.

Link to comment
https://forums.phpfreaks.com/topic/180576-how-to-send-email-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.