Strange problem in sending email using CDO.
Urgent help needed.
-------------------------
Set myMail=CreateObject("CDO.Message")
myMail.Subject="xxx"
myMail.From="
[email protected]"
myMail.cc="
[email protected]"
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.