Date: 01/31/00
- Next message: Jinendra_Subash <email protected>: "[PHP-DEV] PHP3 Help"
- Previous message: kanojia: "[PHP-DEV] How to sent email in HTML format"
- In reply to: kanojia: "[PHP-DEV] How to sent email in HTML format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey Kanojia,
I sent out this email last week, and since then I've learned it is VERY
SIMPLE.
Examine the following CODE:
$headers = "from: $x_email_from\n";
$headers .= "Content-Type: text/html; charset=us-ascii\n";
$headers .= "Content-Transfer-Encoding: 7bit";
Adding the last two lines tells the email client to use the mime type
for html parsing. Just make sure the message is in an HTML format and
it will show as HTML.
Carlos Mabalot
Digital Hum Interactive Networks
webmaster <email protected>
kanojia wrote:
>
> Hi
> I want know that how should i sent a mail in a html format
> ie i should be able to use table and other tag in the mail
>
> mail() send a mail in simple text
> Please help me out
>
> Regards
> Kanojia
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jinendra_Subash <email protected>: "[PHP-DEV] PHP3 Help"
- Previous message: kanojia: "[PHP-DEV] How to sent email in HTML format"
- In reply to: kanojia: "[PHP-DEV] How to sent email in HTML format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

