I have a spread sheet that emails a standard form letter to everyone in a list of names and email addresses. It works GREAT on my machine running in excel 2007. I put this together for a friend and he is using 2010. He keeps getting "the transport feild failed to connect to the server". The original author of this code had a note that might happen and suggested to change the SMTP port from 25 to 465. I tried that but it made no difference, on either machine. Mine still works great, his still same error message.
Could someone please help with this. Code is below. The "Next_Customer" sub is the parrent and runs the "CDO_Send_Mail" via a loop.
I can also upload the file if that will help.
Thanks in advance.
![]()
Please Login or Register to view this content.
Bookmarks