| 
	
 | 
 Posted by Vince Morgan on 04/28/07 15:50 
<jcage@lycos.com> wrote in message 
news:1177771972.418467.122750@n76g2000hsh.googlegroups.com... 
> 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 
> 
 
Hmmm, if I were you, apart from the unnesessary brackets, I would probably 
do what you have done, 
I would make sure I was using the Send as HTML as below. 
$mail->IsHTML(true);    as you might not have done. 
Then, if that didn't work, I might ask someone on here, as you have done. 
And then I might find you answering me as I have done. 
But then again, I'm not you :) 
Vince
 
[Back to original message] 
 |