Re: Simple question

From: Chris Devers (cdevers_at_pobox.com)
Date: 12/13/04


Date: Mon, 13 Dec 2004 16:04:37 -0500 (EST)
To: Debbie McNerney <debbie.mcnerney@news-jrnl.com>

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


Relevant Pages

  • [OT] Re: Asking if elements in struct arre zero
    ... >> What, besides source code, would be easier to read in monospace? ... > effort of formatting it in a variable-width font, ... Keith is right: plain ASCII text is one of the easiest media to ... If HTML postings were generally supported, ...
    (comp.lang.c)
  • Re: Word v.X freezes up when handling bullet points
    ... > substitute default list formatting. ... > Format>Bullets and Numbering bullets or numbers is even more likely to cause ... > because the result is NOT HTML. ... > making lightweight web pages suited for the Internet of yesteryear when ...
    (microsoft.public.mac.office.word)
  • Re: EX07: force remote message to plain text
    ... Thank you, Robbin, but the ContentType is already set to Mimetext, yet the ... recipients are getting both text and html in their messages. ... and formatting. ... " MimeHtmlText converts messages to MIME messages that use HTML ...
    (microsoft.public.exchange.admin)
  • Re: Recycler Folder in XP Pro
    ... My News Server, msnews.microsoft.com, has nothing to do with it. ... Consider that you are posting using Outlook Express formatted in HTML. ... support HTML can read the formatting. ... the message is displayed as plain text ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Using Words clipboard from .NET
    ... If you must hold on to the formatting, it wouldn't be difficult at all to ... HTML tags but then applies this formatting to the text via the Selection ... If you really want to use the clipboard, ...
    (microsoft.public.dotnet.framework.interop)