php-general | 2001092
Date: 09/28/01
- Next message: Garth Dahlstrom: "[PHP] Problem getting cron job work with php"
- Previous message: rlynch: "[PHP] Re: /cgi-bin/php"
- Next in thread: rlynch: "[PHP] Re: Attachement in a mail"
- Maybe reply: rlynch: "[PHP] Re: Attachement in a mail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> How can I send an attachement with mail() function or any thing else?
Easy way: Snag somebody else's code from the code archives linked from:
http://php.net/links.php
Hard way: Figure out MIME encoding and random-separator generation, and
tack on your attachents to the 4th (optional) argument to
http://php.net/mail
> And can I do it with the html function mailto ?
I don't think so... You can get, like, the subject using:
<A HREF=mailto:somebody <email protected>?Subject=This+is+a+test>
But I don't think there's any HTML way to stuff an attachment in there
that wouldn't screw up your HTML...
Perhaps using JavaScript.
Realize that many users auto-delete any email with attachments from an
unknown source.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Garth Dahlstrom: "[PHP] Problem getting cron job work with php"
- Previous message: rlynch: "[PHP] Re: /cgi-bin/php"
- Next in thread: rlynch: "[PHP] Re: Attachement in a mail"
- Maybe reply: rlynch: "[PHP] Re: Attachement in a mail"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

