Re: [PHP] Attachments with mail() function
I recommend sending yourself a mail with an attachment and check the sourcecode of the received mail... together with base64encode() you should be able to do the job... Edward - Original Message - From: "Rafael Perazzo B Mota" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, 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 @yahoo.com address at http://mail.yahoo.com > > > -- > 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, e-mail: [EMAIL PROTECTED] > -- 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, e-mail: [EMAIL PROTECTED]
RE: [PHP] Attachments with mail() function
Class to send a file as an attachment with the php mail() function. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1583 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Rafael Perazzo B Mota [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 _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- 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, e-mail: [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]
Re: [PHP] attachments with mail() function
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 around. > I don't have one handy right now but you can find them by searching the > php archives > and/or the annotated php manual. I know the one by Schumann and > Ratschiller works OK. > > > Mick > > On Sun, 25 Mar 2001, BlackLord wrote: > > > 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, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > 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, e-mail: [EMAIL PROTECTED] > -- 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, e-mail: [EMAIL PROTECTED]
Re: [PHP] attachments with mail() function
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 around. I don't have one handy right now but you can find them by searching the php archives and/or the annotated php manual. I know the one by Schumann and Ratschiller works OK. Mick On Sun, 25 Mar 2001, BlackLord wrote: > 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, e-mail: [EMAIL PROTECTED] > > -- 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, e-mail: [EMAIL PROTECTED]