使用Plesk Server发送邮件(Sending Mail With Plesk Server)

系统教程 行业动态 更新时间:2024-06-14 17:01:34
使用Plesk Server发送邮件(Sending Mail With Plesk Server)

我做了一个应用程序谁发送了许多电子邮件用于不同的操作,我测试了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=null

When 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)

更多推荐

本文发布于:2023-04-20 18:32:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/63b91655d5fabce460c967a8edfef8b4.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:发送邮件   Server   Plesk   Sending   Mail

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!