[PHP] Attachments with Mail()

2003-10-23 Thread Don Mc Nair
Hi Can anyone tell me how to add a file as an attachment to an email sent with something like the following ? $headers = From: .$fromaddress.\r\n; $headers .= Reply-To: $fromaddress\r\n; mail($toaddress, $subject, $mailcontent, $headers); Thanks Don --- Outgoing mail is certified Virus

Re: [PHP] Attachments with Mail()

2003-10-23 Thread Evan Nemerson
PEAR has a class which may be helpful. http://pear.php.net/package/Mail_Mime On Thursday 23 October 2003 04:13 am, Don Mc Nair wrote: Hi Can anyone tell me how to add a file as an attachment to an email sent with something like the following ? $headers = From: .$fromaddress.\r\n;

Re: [PHP] Attachments with mail() function

2002-01-30 Thread Edward van Bilderbeek - Bean IT
, January 30, 2002 3:11 AM Subject: [PHP] Attachments with mail() function How can I send a simple file as attachment using the mail function ? Can anyone give me a simple example ? Thanks Rafael Perazzo _ Do You Yahoo!? Get your free

RE: [PHP] Attachments with mail() function

2002-01-29 Thread Boaz Yahav
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 4:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Attachments with mail() function How can I send a simple file as attachment using the mail function ? Can anyone give me a simple example ? Thanks Rafael Perazzo

[PHP] attachments in mail

2001-04-12 Thread Dan Cleveland
How can i include a file as an attachment in an email? I'm looking for something like this... mail($to_email,%subject,$content,$attached_file); Thanks in advance! Dan +---+ |

Re: [PHP] attachments with mail() function

2001-03-25 Thread BlackLord
Thank you Michael. I will look for mime_mail classes. "Michael Hall" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm not sure about including them in the mail function as such, but it can certainly be done using one of several mime_mail classes that are

[PHP] attachments with mail() function

2001-03-24 Thread BlackLord
Is there anyway to include attachments in mail() function? If you give a small example, it will be great. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,