Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Spaces Removed in HTMLBody (http://www.outlookbanter.com/outlook-vba/16927-spaces-removed-htmlbody.html)

[email protected] June 5th 06 11:19 PM

Spaces Removed in HTMLBody
 
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 /spanspan style=\"font-family:'Tahoma';font-size:11pt;\"Ally

gets displayed as:

DearAlly

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


Michael Bauer June 6th 06 06:20 AM

Spaces Removed in HTMLBody
 
Am 5 Jun 2006 14:19:53 -0700 schrieb :

You can replace all spaces by  

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.vbOffice.net --


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 /spanspan style=\"font-family:'Tahoma';font-size:11pt;\"Ally

gets displayed as:

DearAlly

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


[email protected] June 6th 06 06:33 PM

Spaces Removed in HTMLBody
 
That was a good suggestion, but it didn't work.

Michael Bauer wrote:
Am 5 Jun 2006 14:19:53 -0700 schrieb :

You can replace all spaces by  

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.vbOffice.net --


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 /spanspan style=\"font-family:'Tahoma';font-size:11pt;\"Ally

gets displayed as:

DearAlly

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



[email protected] June 6th 06 09:02 PM

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

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

Michael Bauer wrote:
Am 5 Jun 2006 14:19:53 -0700 schrieb
:

You can replace all spaces by  

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.vbOffice.net --


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 /spanspan style=\"font-family:'Tahoma';font-size:11pt;\"Ally

gets displayed as:

DearAlly

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




All times are GMT +1. The time now is 08:39 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com