我做了一个应用程序谁发送了许多电子邮件用于不同的操作,我测试了Mailtrap.io。 这个测试服务一切顺利,但是当我尝试从我的域中迁移真正的smtp时。 什么都没发生。
MAIL_DRIVER=smtp MAIL_HOST=smtp.mydomain.eu MAIL_PORT=25 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null当我把MAIL_PORT = 25时,我没有例外,但发送任何邮件。 当我把端口565我得到
无法与主机smtp.mydomain.eu建立连接[连接被拒绝#111]
如果我把我在plesk中配置的邮件地址中的用户名和密码改为一无所获。
服务器使用SSH可能错误来自于此?
希望有人可以帮助我..非常感谢提前。
I made an application who send many emails for different actions, i tested with Mailtrap.io. Everything is going well with this test service but when i tried to migrate the the real smtp from my domain. Nothing happen.
MAIL_DRIVER=smtp MAIL_HOST=smtp.mydomain.eu MAIL_PORT=25 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=nullWhen i put MAIL_PORT = 25 i have no exception but any mails is send. When i put the port 565 i get
Connection could not be established with host smtp.mydomain.eu [Connection refused #111]
If i put the username and password from the mail adresse i configured in the plesk it's change nothing.
The serveur use SSH maybe the error comes from this ?
Hope someone could help me .. thanks a lot in advance.
最满意答案
港口“565”? PLS。 确保脚本中实际使用的端口实际上是您要连接的端口!
#25 smtp (TCP) #110 pop3 (TCP) #143 imap (TCP) #465 smtps (TCP) #993 imaps (TCP) #995 pop3s (TCP) AND #587 mail message submission (TCP)port "565" ? Pls. make sure, that the actual used port in your script is actually the one you would like to connect to!
#25 smtp (TCP) #110 pop3 (TCP) #143 imap (TCP) #465 smtps (TCP) #993 imaps (TCP) #995 pop3s (TCP) AND #587 mail message submission (TCP)更多推荐
发布评论