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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel VBA - CDO Failing

Status
Not open for further replies.

rmscho02

Technical User
Jan 14, 2011
18
US
Hi All,

I've got an Excel VBA macro that successfully sends an email using CDO. I am trying to run the exact same code on another computer and I get a "Transport failed to connect to the server" error message. Does anyone know how to fix this? I confirmed that I can send an email using Outlook 2007 and am using the same account/credentials in CDO, so it's got to be the CDO stuff, right? The SMTP server I'm using is a corporate Exchange 2003 server.

Also, does anyone know what the basic configuration settings should be to use CDO?

Thanks!
 
Got it answered. McAfee by default was blocking outbound emailing from mass-mailing/worms. On one machine excel.exe was added as an exception but this wasn't the case on the new machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top