[PHP] mail() - how to attach file to the message???

2003-07-09 Thread szparag
i know that in mail-form i need input type=file name=attach but i don't know how to write message headers to send file with e-mail. please help me. szparag. IncrediMail - Email has finally evolved - Click Here

Re: [PHP] mail() - how to attach file to the message???

2003-07-09 Thread Marek Kilimajer
Use this class: http://www.phpclasses.org/mimemessage szparag wrote: i know that in mail-form i need input type=file name=attach but i don't know how to write message headers to send file with e-mail. please help me. szparag. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mail() - how to attach file to the message???

2003-07-09 Thread Chris Hayes
this worked for me but i did some editing and censoring oso maybe a tiny bug got in. ///SETUP strings $subject='hi there, this is not a Viagra business proposal, '; $mailto = '[EMAIL PROTECTED],[EMAIL PROTECTED]';// for multiple recipients, use comma '[EMAIL PROTECTED],[EMAIL