Click to See Complete Forum and Search --> : send a structured mail through a php script


Lucky-8
January 20th, 2008, 04:35 AM
Hi,

i do know how to send an email using the mail function in php. But my question is the message i send using the $message or watever variable is sent what if i wanted to send an email structured well, like i have a table or two three paragraphs with proper font and indentation etc etc..... just like how we get a structured mail wen we subscribe to codeguru!!!

PeejAvery
January 20th, 2008, 09:02 AM
http://www.peejavery.com/coding/php/emailhtml.php

Culperat
January 29th, 2008, 01:07 PM
I couldn't get the link to work to check out what peejavery put up. However, you could just send it as a html. There's an example on PHP's documentation of mail(). http://us.php.net/manual/en/function.mail.php

PeejAvery
January 29th, 2008, 01:26 PM
That is because my web server (not my hosting) is down. Has only been that way for a few hours.