Skip to content

Configuring Orchard to send email is done by enabling the Email Messaging module and adding the proper email settings. The Email Messaging module adds Email sending functionalities. This document will talk about setting up Orchard to be able to send emails using the localhost.

配置Orchard发送电子邮件是通过启用 Email Messaging 模块并添加正确的电子邮件设置来完成的。电子邮件消息模块添加了电子邮件发送功能。本文档将讨论如何设置Orchard以便能够使用localhost发送电子邮件。

Required Module

所需模块##

In order for Orchard to be able to send emails; The Email Messaging Module needs to be enabled.

为了让Orchard能够发送电子邮件;需要启用 Email Messaging 模块。

Orchard CMS Messaging modules

Click Enable

点击启用

Orchard CMS Messaging modules enabled

Configuring Email SMTP Settings

配置电子邮件SMTP设置##

Once the Email Messaging module has been enabled the email settings can be configured. To configure the email settings in Orchard, select 'Email' under the Settings section of the admin.

启用 Email Messaging 模块后,即可配置电子邮件设置。要在Orchard中配置电子邮件设置,请在管理员的“设置”部分下选择“电子邮件”。

Orchard CMS Email Settings Navigation

Emails can be sent from the local host with the below settings (be sure to replace the from address with an appropriate email address).

可以使用以下设置从本地主机发送电子邮件(请务必使用适当的电子邮件地址替换发件人地址)。

Orchard CMS Messaging modules

And that's it! Well, mostly... Orchard is capable of sending emails now but how do we tell it to send email? There's different reasons when it would be desirable for emails to be sent, one such reason would be when a new message is received from a site's Contact Us page. Read how to create a custom form and then use a rule or the new Work Flow to have Orchard send an email.

就是这样!好吧,主要是... Orchard现在能够发送电子邮件,但我们如何告诉它发送电子邮件?有必要发送电子邮件的原因不同,其中一个原因是当从网站的联系我们页面收到新邮件时。阅读如何创建[自定义表单](创建自定义表单“自定义表单模块”),然后使用规则或新的工作流程让Orchard发送电子邮件。

Change History

改变历史

  • Updates for Orchard 1.8

  • Orchard 1.8的更新 *

    • 9-8-14: Updated screen shots for email messaging module