Magnolia CMS 的内置表单:SMTP 配置覆盖“发件人”输入

发布于 2024-12-07 10:19:23 字数 695 浏览 0 评论 0 原文

在以下页面上 http://documentation.magnolia-cms.com/modules/mail .html#配置SMTP 在“发送消息>>纯文本和 HTML 消息”部分中,我们可以阅读:

From:[...]无论此处输入的地址是什么,Magnolia CMS 都会使用 smtpUser 发送电子邮件,但此处的地址是向收件人显示为发件人。这意味着您可以从 [email protected] 发送电子邮件,该邮件将会显示来自此地址

但是,当我收到电子邮件时,我仍然可以看到 smtpUser 配置的电子邮件和我的“[email protected]" 电子邮件地址未显示(被忽略!?)

href="/cdn-cgi/l/email-protection" class= " 我错过了什么吗?谢谢

On the following page http://documentation.magnolia-cms.com/modules/mail.html#ConfiguringSMTP
In the section "Sending messages >> Plain text and HTML messages", we can read:

From:[...]Regardless of the address entered here, Magnolia CMS will use the smtpUser to send the email but the address here is displayed as the sender to the recipient. This means you can send an email from [email protected] and it will appear to come from this address

However, when I receive the email I can still see the smtpUser config's email and my "[email protected]" email address is not displayed (it is ignored!?)

Am I missing something? Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风轻花落早 2024-12-14 10:19:23

我刚刚在演示网站 http://demoauthor.magnolia- cms.com/demo-project/service/contact.html 它似乎按预期工作。

您使用的是全新安装的 Magnolia 4.4.5 吗?您能否验证一下您是否点击了页面上的“编辑表单设置”按钮,转到“电子邮件”选项卡,并输入“[电子邮件受保护]”插入“发件人”字段 那里?如果您随后在公共实例上尝试该表单,则需要确保表单页面已激活,以便其公共版本也具有您的“发件人”设置。

I just tried this on the demo site at http://demoauthor.magnolia-cms.com/demo-project/service/contact.html and it seemed to work as expected.

Are you using a fresh install of Magnolia 4.4.5? Could you verify that you're hitting the "Edit Form Settings" button on the page, going to the "E-Mail" tab, and entering "[email protected]" into the From field there? If you're then trying the form on a public instance, you'll need to be sure that the form page has been activated so that the public version of it has your "From" setting as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文