On Mon, 13 Dec 2004, Debbie McNerney wrote:

> It's the contents of the email I am writing this post about. I can 
> create a very simple email shown below. But I would like to make this 
> a bit better by bolding the catagorys.

As another commenter noted, formatting in an email message generally 
means using HTML markup, so just use <b> tags around the text.

Note though that for this to work right, you should also flag the 
message as having 'text/html' for the Content-type header. The process 
for doing this will vary depending how you're sending your mail, and 
since you didn't send any code, there's no point spelling it out. 

If you don't set this header properly, a lot of people will see the raw 
HTML in the message, rather than the formatted text inside the tags. 
That is certainly not what you want, so be sure to test your outgoing 
messages in a variety of mail programs to make sure things are working.

To be really polite to your recipients, you can send multipart-mime 
messages with a plain text branch for those of us that use mail software 
like Pine and Mutt, and a formatted html branch for everyone else. Among 
other benefits, that should make the broken content-type headers problem 
go away. There are modules that can make setting this up pretty easy, 
but it is another layer of code beyond what you have working so far...


-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to