473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Rogue spaces when using CDO.Message

I've got the same problem, on 2 different servers. One running Microsoft
Exchange, the other running a 3rd party mail system. It's highly unlikely
that this problem is in the mail server. What is common between these 2
systems is C#, and CDO.Message, so it's one of the 2 that is having this
problem.

Anyway, I wrote both web sites. They send mailings to customers. We notice
on occassion, that there will be a rogue space in a mailing. It could happen
often, but it comes to our attention when this rogue space pops up in the
middle of a URL or of an Email address that we have included in the mailing.
My code is pretty simple, I just fill in the variables for CDO.Message, and
send it.

Any ideas where I can go to try to trouble shoot this one? Any help is
greatly appreciated.
Apr 11 '06 #1
3 2327
CDO.Message. I am using ASP ( not .NET ) on a Windows 2003 Server pushing messages to an Exchange server. Same problem. It is really messing me up because some of the emails have links in them and the spaces are making them invalid. If you find a solution please let me know, I will do the same.
Apr 26 '06 #2
And the winner is...CDO.Message. I am using ASP ( not .NET ) on a Windows
2003 Server pushing messages to an Exchange server. Same problem. It is really
messing me up because some of the emails have links in them and the spaces are
making them invalid. If you find a solution please let me know, I will do the
same.
=?Utf-8?B?QnJpYW4gS2l0dA==?= <Br*******@discussions.microsoft.com> wrote:
I've got the same problem, on 2 different servers. One running Microsoft

-------------
Get FREE newsgroup access from http://www.cheap56k.com

Apr 28 '06 #3
The random spaces appear to not be so random after all. They are occuring
every 991 characters. Once I figured this out I was able to find additional
articles on the web. Please look at
http://www.frontpagewebmaster.com/m-212454/tm.htm. It looks like all you have
to do is add Mail.BodyPart.ContentTransferEncoding = "quoted-printable" before
Mail.HTMLBody = mailStr and it should fix it. I tested it and it appears to
resolve the issue. If you are curious about the encoding types, an article
can be found at
http://msdn.microsoft.com/library/de...r-encoding.asp.
If you find any more glitches in this, please let me know. Thanks.

=?Utf-8?B?QnJpYW4gS2l0dA==?= <Br*******@discussions.microsoft.com> wrote:
I've got the same problem, on 2 different servers. One running Microsoft

-------------
Get FREE newsgroup access from http://www.cheap56k.com

May 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: hokiegal99 | last post by:
This script works as I expect, except for the last section. I want the last section to actually remove all spaces from the front and/or end of filenames. For example, a file that was named " test ...
1
by: Thomas Lenarz | last post by:
Hello, we have got C++-programs (older SUN-Compiler) using the Rogue-Wave-Class-Library and consider to port the application to AIX 5.2 (GNU gcc/g++) The only drawback we could find ist the...
1
by: Don Tucker | last post by:
Hello, I am receiving the following compile-time error: /opt/include/rw/dcomplex.h line 218 error(1420): argument list for class template "complex" is missing typedef complex DComplex when...
5
by: Old Wolf | last post by:
The following code causes a deallocation of a random amount of bytes, with the Rogue Wave STL supplied with Borland C++ 5.5.1 : #include <vector> int main() { std::vector<char> v, w(1); v =...
3
by: larry | last post by:
Hi, I am a newbie to Internet programming. I have some questions about spacing in HTML control names and subsequently being able to access these input elements in JavaScript If you don't have...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
5
by: prakash.mirji | last post by:
I am using evaluation copy of RW 9.0 for porting one of C++ application on RHEL4 (x86 platform). We are getting some issues into RW template classes. Please need assistance on this issue. Here...
1
by: teddysnips | last post by:
I'm collaborating on a project with a colleague, sharing files through SourceSafe. So, I run GetLatestVersion and suddenly I have 264 build errors - all "Unexpected character" The file in...
1
by: Steven Backus | last post by:
I inherited a Solaris c++ program that uses Rogue Wave and am trying to port it to linux. It seg faults in this code: for (int size = entries() - 1; size 1; --size) { RWOrderedIterator...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.