1

I am using PHPMailer to connect to smtp.google.com for sending emails but the SMTP ports are blocked by network admin.

How can I get around this problem. Please Help.

A. Sinha
  • 2,666
  • 3
  • 26
  • 45
  • Perhaps tell this to your administrator ? – miltone Mar 30 '16 at 10:18
  • 2
    This would actually be a very uncommon setup. It is very rare that _outgoing_ requests are blocked by a local firewall. Certainly possible from a technical point of view, but not trivial. If this really is the case, then there must be a very severe reason for that. – arkascha Mar 30 '16 at 10:21
  • You could ask your system administrator to open these ports. – node_modules Mar 30 '16 at 10:24
  • Actually outbound blocking is very common - in particular GoDaddy does it. The workaround is to use your ISPs mail server - they usually have docs on that. – Synchro Mar 30 '16 at 10:34

1 Answers1

0

If the SMTP ports are blocked by the network admin, you will have to contact your administrator.
You can not fix this by changing your code.