satmanuk
asked on
Send HTML emails with images from PHP
Hi there,
I am looking for a way to send HTML emails using PHP. i have managed to source info on the basics but wondered if anyone knew how i imbed images into my html?
i found what i want but i think i have to install something server side and im not sure if my hosting will do that or not. The site i found was
http://www.phpguru.org/downloads/html.mime.mail/
Does anyone know this class and do you know if somethig has to be installed? i think i do as i was reading this tutorial and it says to install something to the server.
http://ghostwire.com/archives/phpobject/000051.html
Hope you can help
Thanks
I am looking for a way to send HTML emails using PHP. i have managed to source info on the basics but wondered if anyone knew how i imbed images into my html?
i found what i want but i think i have to install something server side and im not sure if my hosting will do that or not. The site i found was
http://www.phpguru.org/downloads/html.mime.mail/
Does anyone know this class and do you know if somethig has to be installed? i think i do as i was reading this tutorial and it says to install something to the server.
http://ghostwire.com/archives/phpobject/000051.html
Hope you can help
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent
Thanks!
Thanks!
I've added the code to send out a multi part e-mail, so it'll include HTML and plain text. Something that PHPMailer won't do.
$htmlVer is your HTML version of the e-mail, with full HTML code including full paths to images.
$textVer is your plain text version, nothing but text.
Open in new window