Email Attachment!!!
| From: | Absm | Date: | Sun, 13 Feb 2000 18:56:14 +0000 |
| Subject: | Email Attachment!!! | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10223@lists.php.net to get a copy of this message | ||
Hi
Working on a submit form whereby a submitter of the form needs to attach an
image and send onto me using email notification
For e.g.
part of the php script:
/* Send relevant emails */
mail("$email", "Your request for information",
"$name\nThank you for your interest!\n");
mail("$adminaddress","Visitor request for info.","
$name requested for information.\n
The email address is $email. \n The Photo $photo \n");
Part of the submitform:
picture<br>
<input type="File" name="photo" size="25"> <br><P>
From the above i only receive the filename for the image and not the image
itself.
How could the image be attached to the email notification aswell. This is
the question???
Please can anyone help
thankyou
abbs1@x-stream.co.uk