Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 24th, 2003, 04:57 PM
Registered User
 
Join Date: Jun 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old June 25th, 2003, 04:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Attachments with email arshad mahmood Classic ASP Professional 3 May 31st, 2006 08:13 PM
Email with Attachments echovue Access 2 March 22nd, 2005 10:36 AM
Email attachments tucker Excel VBA 1 June 10th, 2004 03:25 AM
Email Attachments Doug Riede Classic ASP Basics 0 October 24th, 2003 11:11 AM
Sending email attachments KARENM Access VBA 2 August 8th, 2003 07:07 AM





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