Formating text in an email sent by a PHP script

the mail() function

Moderators: macek, egami, gesf

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

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.

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

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

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

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,

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

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

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

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

Thank you.

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

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

Welcome


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 2 guests