JasonWang Posted November 20, 2013 Share Posted November 20, 2013 (edited) I'm using Google's SMTP server to send emails in PSshop. It works fine on localhost, when configuring Advanced Parameters -> E-mail as ( set my own SMTP, SMTP server:smtp.gmail.com, SMTP user: [email protected], Encryption:SSL, Port:465). When I tried this on server, it failed saying: The SMTP connection failed to start [s s l : //smtp. gmail. com: 465] sockopen returned Error Number 101 and Error String 'Network is unreachable' (I have to seperate the ssl link with space, this forum forbids these words.) I asked the hosting service technist. He said Due to security reasons and limitations, System Administration will not open ports on web servers to connect to external SMTP servers. Customers who need to send Email from their web servers should use scripts that use mail services resident on the web servers (PHP sendmail, CDOSYS) or local SMTP (127.0.0.1) And he said I can't connect to smtp.gmail.com. I think it's not true, because my older websites(not Prestashop) used to use ASP to send email via smtp.gmail.com. So it could connect to smtp.gmail.com. Could anyone help me with this problem? Edited November 20, 2013 by JasonWang (see edit history) Link to comment Share on other sites More sharing options...
Rolige Posted November 22, 2013 Share Posted November 22, 2013 Your hosting provider has told you the response, they don't accept use their smtp server out their site, and you are trying to use this in your localhost (127.0.0.1) Regards. Link to comment Share on other sites More sharing options...
Recommended Posts