相关疑难解决方法(0)

SwiftMailer连接建立错误

我发送邮件有问题.我在gmail上使用SwiftMailer 5.1.0和帐户,启用了smtp端口465和openssl,但是我有这个错误:

Serwer: smtp.gmail.com:465 ssl
From: BizIn - system mailowy <isystemnew.pcet@gmail.com>
To: test7771@test.pl
Mail debug: Connection could not be established with host smtp.gmail.com [ #0] 
Run Code Online (Sandbox Code Playgroud)

在我的本地主机上,一切都很好,邮件也随之发送.但是在服务上我有错误.

Localhost在版本5.4.31中使用PHP,但在服务器上是5.6.0.

email gmail swiftmailer

1
推荐指数
1
解决办法
9456
查看次数

标签 统计

email ×1

gmail ×1

swiftmailer ×1