Hi,
I'm getting no emails through using the CDO.message object.
It was originally working OK with the default SMTP virtual server settings. I then went and started trying to enhance the security by changing these settings for another purpose not to do with CDO.Message. Anyway I then returned the settings to as they were when CDO.message was working and the component is somehow blocking emails being sent via the method.
Does anyone have any hints.
Thanks for your help in advance.
Set myMail=CreateObject("CDO.Message")
myMail.Subject="TEST"
myMail.From="email"
myMail.To= "email"
myString = myString & "<html><head>" & Chr(13) & Chr(10) &
mystring = mystring & "</body></html>" & Chr(13) & Chr(10) & Chr(13) & Chr(10)
myMail.HTMLBody= mystring
myMail.Send
set myMail=nothing
Gavin
I'm getting no emails through using the CDO.message object.
It was originally working OK with the default SMTP virtual server settings. I then went and started trying to enhance the security by changing these settings for another purpose not to do with CDO.Message. Anyway I then returned the settings to as they were when CDO.message was working and the component is somehow blocking emails being sent via the method.
Does anyone have any hints.
Thanks for your help in advance.
Set myMail=CreateObject("CDO.Message")
myMail.Subject="TEST"
myMail.From="email"
myMail.To= "email"
myString = myString & "<html><head>" & Chr(13) & Chr(10) &
mystring = mystring & "</body></html>" & Chr(13) & Chr(10) & Chr(13) & Chr(10)
myMail.HTMLBody= mystring
myMail.Send
set myMail=nothing
Gavin