Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

Formating text in an email sent by a PHP script

the mail() function

Moderators: macek, egami, gesf

Formating text in an email sent by a PHP script

Postby Tudy » Sun May 15, 2005 12:55 am

Hy.

How I can format a text (with bold, italic, underline, other font faces, etc) in an email, sent by a PHP Script ? Are there any special codes to do this ? Thank you.
Tudy
New php-forum User
New php-forum User
 
Posts: 11
Joined: Sun May 15, 2005 12:51 am
Location: Cluj-Napoca

Re: Formating text in an email sent by a PHP script

Postby WiZARD » Mon May 16, 2005 7:33 am

Tudy wrote:Hy.

How I can format a text (with bold, italic, underline, other font faces, etc) in an email, sent by a PHP Script ? Are there any special codes to do this ? Thank you.

You can send them as HTML
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby Tudy » Mon May 16, 2005 8:07 am

Can you give me more informations ?
To save the .html on server and send an email with atachaments ?

Thanks,
Tudy
New php-forum User
New php-forum User
 
Posts: 11
Joined: Sun May 15, 2005 12:51 am
Location: Cluj-Napoca

Postby Alexej Kubarev » Mon May 16, 2005 9:45 am

no: send it as a HTML email... http://se.php.net/manual/en/function.mail.php for more information
Check it out in examples
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Postby Tudy » Mon May 16, 2005 10:13 am

Thank you.
Tudy
New php-forum User
New php-forum User
 
Posts: 11
Joined: Sun May 15, 2005 12:51 am
Location: Cluj-Napoca

Postby Alexej Kubarev » Mon May 16, 2005 10:24 am

Welcome
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län


Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.