Sitecore 8 WFFM - 在保存操作错误时发送电子邮件
Sitecore 8 WFFM - Send Email on Save Actions Error
我使用体验编辑器中的组件添加了一个网络表单(获取我们的时事通讯),订阅按钮保存操作正在使用 "Send Email Message"。
屏幕 1:
屏幕 2:
在 Web 配置文件中
<setting name="MailServer" value="smtp.gmail.com" />
<!-- MAIL SERVER USER
If the SMTP server requires login, enter the user name in this setting
-->
<setting name="MailServerUserName" value="info@xyz.com" />
<!-- MAIL SERVER PASSWORD
If the SMTP server requires login, enter the password in this setting
-->
<setting name="MailServerPassword" value="xxxxx" />
<!-- MAIL SERVER PORT
If the SMTP server requires a custom port number, enter the value in this setting.
The default value is: 25
-->
<setting name="MailServerPort" value="587" />
并且还添加了配置文件的以下代码(或没有):
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network enableSsl="true" />
</smtp>
</mailSettings>
营销人员 Web 表单中的设置:
仍然出现以下错误,请任何人帮助我
您需要将 GMAIL 登录凭据添加到 WFFM 设置(以及端口和启用 SSL)。
我很久以前写过一篇关于它的博文:)
http://intothecore.cassidy.dk/2012/05/email-confusion-configuring-smtp.html
问题很可能是因为您没有从默认发送电子邮件发送操作中删除默认主机设置,该操作设置了开箱即用的主机和电子邮件。
浏览至 /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message
,然后从 Parameters
字段中删除设置。
不幸的是,您必须从表单中删除发送操作,然后重新添加才能使更改生效(或编辑表单上保存操作的原始值以将其删除)。
如果您遇到其他错误,请检查您的 Sitecore 日志文件以获取有关错误发生原因和堆栈跟踪的更多详细信息。
我使用体验编辑器中的组件添加了一个网络表单(获取我们的时事通讯),订阅按钮保存操作正在使用 "Send Email Message"。
屏幕 1:
屏幕 2:
在 Web 配置文件中
<setting name="MailServer" value="smtp.gmail.com" />
<!-- MAIL SERVER USER
If the SMTP server requires login, enter the user name in this setting
-->
<setting name="MailServerUserName" value="info@xyz.com" />
<!-- MAIL SERVER PASSWORD
If the SMTP server requires login, enter the password in this setting
-->
<setting name="MailServerPassword" value="xxxxx" />
<!-- MAIL SERVER PORT
If the SMTP server requires a custom port number, enter the value in this setting.
The default value is: 25
-->
<setting name="MailServerPort" value="587" />
并且还添加了配置文件的以下代码(或没有):
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network enableSsl="true" />
</smtp>
</mailSettings>
营销人员 Web 表单中的设置:
您需要将 GMAIL 登录凭据添加到 WFFM 设置(以及端口和启用 SSL)。
我很久以前写过一篇关于它的博文:) http://intothecore.cassidy.dk/2012/05/email-confusion-configuring-smtp.html
问题很可能是因为您没有从默认发送电子邮件发送操作中删除默认主机设置,该操作设置了开箱即用的主机和电子邮件。
浏览至 /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message
,然后从 Parameters
字段中删除设置。
不幸的是,您必须从表单中删除发送操作,然后重新添加才能使更改生效(或编辑表单上保存操作的原始值以将其删除)。
如果您遇到其他错误,请检查您的 Sitecore 日志文件以获取有关错误发生原因和堆栈跟踪的更多详细信息。