[PHP] Re: sending attachments

2004-07-08 Thread Manuel Lemos
Hello, On 07/07/2004 08:04 AM, Curlys wrote: can some body help me to send an email attachment ( a log file ) from php ? Actaually i need a real guide plz You need to compose a multipart/mixed message with a text part that is your message and the attached part with is your file. You m

[PHP] RE: Sending attachments via mail()

2001-05-16 Thread Daniel BI
Yep, it was *very* much discussed last time :) first need to prepare your image to meet the base 64 and chunked standards: $content = chunk_split ( base64_encode ( $your_image ) ); then you need something like this in the additional header info of the php mail function: $boundary = 'NEXT_PART'