Page 1 of 1

mail() Attachments also allowable?

Posted: Tue Jun 22, 2004 11:17 am
by EverToDesign
Just curious, can one send attachments via the mail() function and if so how?

Would I have to do an upload from the persons computer to the server first and then some how have the file sent from the server and then deleted from the server?

Posted: Tue Jun 22, 2004 11:24 am
by patrikG
http://www.sitepoint.com/article/advanced-email-php/5 should help you. I'd recommend looking at phpmailer, url is, I believe, http://phpmailer.sourceforge.net

Also: PLEASE search the forum before you post. This question has been asked plenty of times before.