View Single Post
  #1 (permalink)  
Old April 2nd, 2007, 07:22 AM
BananaJim BananaJim is offline
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default CDO email - missing characters

Strange problem in sending email using CDO.

Urgent help needed.

-------------------------

Set myMail=CreateObject("CDO.Message")
myMail.Subject="xxx"
myMail.From="xxx@xxx.com"
myMail.cc="xxx@xxx.com"
eText = "aaaaa"
myMail.HTMLBody = eText
myMail.Send
set myMail=nothing

-------------------------

"aaaaa" here represents a long string of several thousand characters.

There are two symptoms I've noticed:

1. In my outlook express inbox, the auto-generated email misses out a character (the 1023rd character).
2. The same email in my hotmail inbox does not have a missing character, but has a spurious inserted space withing the message (not sure exactly where, but possibly at position 1023 also).

Both of these scenarios are unacceptable, as my email contains information which MUST be presented absolutely accurately (including username and password details).

This is a very urgent situation. Is this a bug in CDO object?

PLEASE - if you know anything about this, please help me with it urgently. I need to find a solution.

Thanks.
Reply With Quote