Mailing Help- I need to mail an HTML e-mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Mailing Help- I need to mail an HTML e-mail

Post by tecktalkcm0391 »

HTML:
How do you make the mail(); function send a HTML e-mail.

Plain Text:
How do you make the body of the message have the equivent of <br> without having the code <br> show up in the e-mail?
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

You should check out: phpmailer

For <br>'s use \n
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

what is phpmailer ?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Have you looked at the PHP documention for the mail() function? It gives a very clear example of HTML mail that you can cut and paste.
(#10850)
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

tecktalkcm0391 wrote:what is phpmailer ?
:roll:

http://www.google.com/search?complete=1 ... gle+Search
Post Reply