You are here: Using phpMailer & HTML « All PHP « IT news, forums, messages
Using phpMailer & HTML

Posted by jcage on 04/28/07 14:52

I'm using the following line of php code and would like to incorporate
a little HTML in order to get line breaks <br> and bold headers <b></
b> where I want. Anyone know how to make that happen?

current:
$mail->Body = ("From: $name, Area: $area, Issue: $issue");

would like to get something as follows:
$mail->Body = ("<b>From:</b> $name,<br><b>Area:</b>
$area,<br><b>Issue:</b> $issue");

Thanks,
John

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация