带有laravel的Plesk PHP电子邮件未收到DKIM签名 [英] Plesk PHP emails with laravel are not receiving DKIM signature
问题描述
当我从Round Cube Web客户端发送电子邮件时,该电子邮件已用DKIM签名.
When I send email from the Round Cube web client, the email is signed signed with DKIM.
但是,当网站通过Laravel发送电子邮件时,未使用DKIM签名.
However when a website sends email via Laravel it is not signed with DKIM.
我要发送两封电子邮件,其中一封邮件带有laravel通知,另一封邮件带有邮件.
I'm sending two emails one with laravel notifications and one with mail.
两者均未收到DKIM签名.我已经在Plesk中打开了签名设置.
Both don't receive a DKIM signature. I've turned on the signature settings in Plesk.
问题是使用laravel发送电子邮件时如何添加DKIM签名.
The question is how can I add my DKIM signature when sending emails using laravel.
OS: Ubuntu 18.04.5 LTS
Product: Plesk Obsidian 18.0.31 Update #1
我在laravel中的邮件设置:
my mail settings in laravel:
MAIL_DRIVER=mail
MAIL_HOST=test.****.store
MAIL_PORT=25 // I've tried 587 and 465 aswel.
MAIL_USERNAME=order@***.store
MAIL_PASSWORD=****
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=order@****.store
MAIL_FROM_NAME=Rapio
推荐答案
我通过将邮件驱动程序更改为SMTP进行了修复,这使我的邮件可以添加DKIM签名
I fixed it by changing my mail driver to SMTP, this allowed my mails to add a DKIM signature
这篇关于带有laravel的Plesk PHP电子邮件未收到DKIM签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!