Swiftmailer: Connection could not be established with host smtp.gmail.com [Connection timed out #110]
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm posting because I've already gone through the solutions posted in other questions on here but they haven't helped. What I am trying to do is send email using Swiftmailer through Google Apps for Business Gmail but I keep getting this error: Connection could not be established with host smtp.gmail.com [Connection timed out #110] I know the code is fine because it works on my local machine but not on the production server. What I have tried so far: Enabled OpenSSL. Unblocked account from Google captcha. Used an Application