Forum Discussion

Andrea_Bonacchi's avatar
Andrea_Bonacchi
New Contributor
4 years ago

Sending e-mail via CDO due to "Transport failed to connect to the server"

Hi everybody,   with the help of the on-line documentation I wrote the following code to send an e-mail using CDO.   function SendEmail(mFrom, mTo, mSubject, mBody) { var schema, mConfig, mMess...
  • tphillips's avatar
    4 years ago

    The port (465) isn't block by workstation or IT firewall because I can access to my gmail.


    Are you sure that port isn't blocked by the firewall? If you can access your gmail you're likely accessing it over the web UI which doesn't use that port.

     

    Are you able to telnet to smtp.gmail.com from your machine using the command line?