A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Spaces Removed in HTMLBody



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 5th 06, 11:19 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 14
Default 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.

  #2  
Old June 6th 06, 06:20 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default 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.

  #3  
Old June 6th 06, 06:33 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 14
Default 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.


  #4  
Old June 6th 06, 09:02 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 14
Default 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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTMLBody is hidden when emailing a PDF from IE? Stephen Corey Add-ins for Outlook 6 June 6th 06 03:27 PM
unwanted spaces when forwarding emails [email protected] Outlook - General Queries 2 April 26th 06 06:17 PM
Two different kind of spaces Oriolus Outlook Express 13 March 9th 06 12:07 PM
Internet Explorer 6.0 and msn spaces together. Daveo Outlook Express 1 January 16th 06 11:38 PM
Reply in Outlook Double Spaces Dave Outlook - General Queries 6 January 8th 06 08:30 PM


All times are GMT +1. The time now is 11:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.