mail() Attachments also allowable?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
EverToDesign
Forum Newbie
Posts: 10
Joined: Sat Oct 11, 2003 9:38 am

mail() Attachments also allowable?

Post 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?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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.
Post Reply