p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   PHP How-To (http://p2p.wrox.com/forumdisplay.php?f=98)
-   -   Email w/Attachments (http://p2p.wrox.com/showthread.php?t=922)

aingalsbe June 24th, 2003 04:57 PM

Email w/Attachments
 
I am looking for a way to send an email using PHP and attaching files to that email. So far, I've had very little luck finding a lot of good info. on this topic. Any help?
-Aaron

Daniel Walker June 25th, 2003 04:48 AM

Well, basically, you use PHP's very long-established mail() function. You'll need to use MIME-type mail, to send attachments, though. This tutorial explains all about MIME types and finishes with a working code example of how to do it:

http://www.phpbuilder.com/columns/kartic20000807.php3

HTH,
Daniel Walker

Quote:

quote:Originally posted by aingalsbe
 I am looking for a way to send an email using PHP and attaching files to that email. So far, I've had very little luck finding a lot of good info. on this topic. Any help?
-Aaron


All times are GMT -4. The time now is 09:31 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.