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

Posted by shimmyshack on 04/28/07 15:31

On Apr 28, 3:52 pm, j...@lycos.com wrote:
> 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


$mail->IsHTML(true);

 

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

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