Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem emailing with SmtpMail

Status
Not open for further replies.

Mannga

Programmer
Jun 21, 2002
85
GB
Hi All,

I have created a small application which will email me every hour to give me an update on my server. If I am in the office I get my emails just fine, but when I change it to email me on an external address it fails.

I heard this might have something to do with not logging onto the SMTP server or security settings on the server?
How can I log on or change the security settings so that this will work?

Thanks,
Gavin
 
Make sure you have the CDO library (Collaborative Data Objects) installed on your server machine. The SmtpMail classes are a wrapper around this COM object.

Chip H.
 
The CDO.dll file is on my server machine so I presume it has been installed.

How would I check this?

Thanks,
Gavin
 
Check in the registry to see if CDO.Message is present
(\HKEY_CLASSES_ROOT\CDO.Message)

Chip H.
 
No that is not there,

I have a CDONTS.NewMail but that is the closest I get.

Do I just run regsrv32 CDO.dll now on my server?

Thanks,
Gavin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top