|
Posted by C. (http://symcbean.blogspot.c on July 18, 2008, 8:10 am
Please log in for more thread options
On Jul 16, 8:20 pm, r_ahims...@poczta.onet.pl wrote:
> Hello,
> I am learning PHP5 and www technologies.
> I would like to send email from .php script. The email will contain HTML
> with images (BMP, GIF, JPEG) and movies (MPEG) included.
>
> I have a question: how can I include images and movies (which tags should I
> use?).
> Can I do it using mail() function? I would prefer mail() than PEAR because I
> am not sure if I will have PEAR on server.
>
> Please help.
> Thanks.
> /RAM/
Check out the mail classes at phpclasses.org - that'll save a bit of
effort. Make sure you read up on email header injection.
Also for various reasons I wouldn't recommend attaching the movie file
to the email if you can avoid it (you can create a mailable HTML page
which plays back the image from a URL).
C.
|