Spaces Removed in HTMLBody

M

mikebabb

I have a C# program using an Outlook 2000 generated interop object in
which I'm prefilling the the MailItem's HTMLBody. The problem that I'm
having is that spaces between words get removed if a tag (such as font
or bold) is contained between the words. For example:

Dear </span><span style=\"font-family:'Tahoma';font-size:11pt;\">Ally

gets displayed as:

DearAlly

Has anyone else seen this or have a solution. Thanks.
 
M

Michael Bauer

Am 5 Jun 2006 14:19:53 -0700 schrieb (e-mail address removed):

You can replace all spaces by &nbsp;
 
M

mikebabb

That was a good suggestion, but it didn't work.

Michael said:
Am 5 Jun 2006 14:19:53 -0700 schrieb (e-mail address removed):

You can replace all spaces by &nbsp;
 
M

mikebabb

Ignore this post. It turns out that it's not Outlook's problem. Sorry
about that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top