RE: [PHP] attach image with the mail command?
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Wed, 15 Jan 2003 01:18:16 +0000 |
| Subject: | RE: [PHP] attach image with the mail command? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131639@lists.php.net to get a copy of this message | ||
You will need to read the file into an array using file() then
join/base64/split and then setup the right headers to attach the mime
encoded attachment.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: harald.mohring@gmx.de [mailto:harald.mohring@gmx.de]
> Sent: Wednesday, 15 January 2003 11:10 AM
> To: php-general@lists.php.net
> Subject: [PHP] attach image with the mail command?
>
>
> how can i attach an image with the mail command
> how do get the image in a variable when i have chosen it with
> the input type file?
>
> Harry
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>