CDO.Message - unusual errors

~J~

~J~

Soldato
Joined
20 Oct 2003
Posts
7,558
Location
London
Hmmmm, got a real unusual problem which has baffled me all day.

Quick background: Got a client who has several websites, all ASP based and held on a Win 2k Server.

We're in the middle of migrating them to a Win 2k8 Server and slowly upgrading their code to Asp.Net.

One of the things we've had to change immediately is the old CDONTS.NewMail to CDO.Message, and 99.9% of this has gone smoothly.

However...

One page is emailing out a HTML page and the being received at th recipients end with an image missing. At first we simply thought the URL of the image hadn't been changed over, but looking at it carefully URL there's a rogue exclamation OR a space in there.

Sometimes it's litererally a ! or a ' ', othertimes it's a %20 or a %21 (the hex equivalent).

I've gone through the code line by line, even Response.Write the full HTML code to the browser and it's absolutely perfect.

As soon as the SendMail command is executed and the email hits the recipient, the rubbish characters appear!

So, is there any known issues/bugs with CDO.Message under the Win 2k8 server and/or is it by any means possible that these emails being sent are being scanned by some virus/spam checker and been outputted incorrectly?

I'm honestly baffled by this.
 
Back
Top Bottom