I'm having problems generating emails with an anchor link. This is my code:
set objCDO = server.createObject("CDO.Message")
objCDO.from = "mail@testing.co.uk"
objCDO.subject = "test email"
objCDO.htmlbody = "<a href='http:bbccouk'>testing</a>"
objCDO.to = "tester@software.co.uk"
objCDO.Send
This works fine (I've changed the email addresses).
However if I change the htmlbody to:
objCDO.htmlbody = "<a href='http:bbc.co.uk'>testing</a>"
it fails. No email.
When I run this on another server it works with the full stops but fails when I put // in the href value.
Any ideas?
set objCDO = server.createObject("CDO.Message")
objCDO.from = "mail@testing.co.uk"
objCDO.subject = "test email"
objCDO.htmlbody = "<a href='http:bbccouk'>testing</a>"
objCDO.to = "tester@software.co.uk"
objCDO.Send
This works fine (I've changed the email addresses).
However if I change the htmlbody to:
objCDO.htmlbody = "<a href='http:bbc.co.uk'>testing</a>"
it fails. No email.
When I run this on another server it works with the full stops but fails when I put // in the href value.
Any ideas?