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.">\
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,
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 [ma
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 ar
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
5 matches
Mail list logo