发送电子邮件(Send Email)#
“发送电子邮件”节点使用 SMTP 邮件服务器发送电子邮件。
🌐 The Send Email node sends emails using an SMTP email server.
凭证
你可以在这里找到该节点的认证信息。
节点参数(Node parameters)#
This node can be used as an AI tool
This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.
使用以下参数配置此节点。
🌐 Configure this node using the following parameters.
用于连接的凭据(Credential to connect with)#
为节点选择或创建一个 SMTP账户凭证 使用。
🌐 Select or create an SMTP account credential for the node to use.
操作(Operation)#
“发送电子邮件”节点支持以下操作:
🌐 The Send Email node supports the following operations:
- 发送:发送电子邮件。
- 发送并等待回复:发送电子邮件并等待接收者的回复。此操作会暂停工作流执行,直到用户提交回复。
选择发送并等待响应将激活如等待响应中讨论的参数和选项。
🌐 Choosing Send and Wait for Response will activate parameters and options as discussed in waiting for a response.
通过电子邮件(From Email)#
输入你想要发送邮件的电子邮件地址。你还可以使用以下格式包含名称:Name Name <email@sample.com>,例如:Nathan Doe <nate@n8n.io>。
🌐 Enter the email address you want to send the email from. You can also include a name using this format: Name Name <email@sample.com>, for example: Nathan Doe <nate@n8n.io>.
发送邮件(To Email)#
输入你希望发送电子邮件的邮箱地址。你也可以使用此格式包含名称:Name Name <email@sample.com>,例如:Nathan Doe <nate@n8n.io>。使用逗号分隔多个邮箱地址:first@sample.com, "Name" <second@sample.com>。
🌐 Enter the email address you want to send the email to. You can also include a name using this format: Name Name <email@sample.com>, for example: Nathan Doe <nate@n8n.io>. Use a comma to separate multiple email addresses: first@sample.com, "Name" <second@sample.com>.
电子邮件格式
此电子邮件格式同样适用于抄送(CC)和密送(BCC)字段。
主题(Subject)#
输入电子邮件的主题。
🌐 Enter the subject line for the email.
电子邮件格式(Email Format)#
选择发送电子邮件的格式。使用 发送 操作时可使用此参数。可选择以下选项:
🌐 Select the format to send the email in. This parameter is available when using the Send operation. Choose from:
- 文本:以纯文本格式发送电子邮件。
- HTML:以 HTML 格式发送电子邮件。
- 两者:以两种格式发送电子邮件。如果选择此选项,电子邮件接收方的客户端将决定显示哪种格式。
节点选项(Node options)#
使用这些选项来进一步优化节点的行为。
🌐 Use these Options to further refine the node's behavior.
追加 n8n 归属(Append n8n Attribution)#
设置是否在电子邮件末尾包含短语 This email was sent automatically with n8n(开启时包含,关闭时不包含)。
🌐 Set whether to include the phrase This email was sent automatically with n8n at the end of the email (turned on) or not (turned off).
附件(Attachments)#
输入包含要添加为附件的数据的二进制属性名称。使用此选项的一些提示:
🌐 Enter the name of the binary properties that contain data to add as an attachment. Some tips on using this option:
- 使用 从磁盘读取/写入文件 节点或 HTTP 请求 节点将文件上传到你的工作流。
- 通过输入以逗号分隔的二进制属性列表来添加多个附件。
- 在电子邮件正文中引用嵌入的图片或其他内容,例如
<img src="cid:image_1">。
抄送邮件(CC Email)#
请输入 cc: 字段的电子邮件地址。
🌐 Enter an email address for the cc: field.
密送邮件(BCC Email)#
请输入 bcc: 字段的电子邮件地址。
🌐 Enter an email address for the bcc: field.
忽略 SSL 问题(Ignore SSL Issues)#
设置 n8n 是否应忽略 TLS/SSL 证书验证失败(启用)或强制执行(禁用)。
🌐 Set whether n8n should ignore failures with TLS/SSL certificate validation (turned on) or enforce them (turned off).
回复至(Reply To)#
在“回复至”字段中输入电子邮件地址。
🌐 Enter an email address for the Reply To field.
等待响应(Waiting for a response)#
通过选择发送并等待响应操作,你可以发送电子邮件消息,并暂停工作流执行,直到有人确认操作或提供更多信息。
🌐 By choosing the Send and Wait for a Response operation, you can send an email message and pause the workflow execution until a person confirms the action or provides more information.
响应类型(Response Type)#
你可以选择以下几种等待和审批操作:
🌐 You can choose between the following types of waiting and approval actions:
- 批准:用户可以在消息中进行批准或不批准。
- 自由文本:用户可以通过表单提交回复。
- 自定义表单:用户可以通过自定义表单提交回复。
根据你选择的类型,可用的选项有所不同。
🌐 Different options are available depending on which type you choose.
审批参数和选项(Approval parameters and options)#
使用“审批”响应类型时,可以使用以下选项:
🌐 When using the Approval response type, the following options are available:
- 批准类型:是仅显示批准按钮,还是同时显示批准和拒绝按钮。
- 按钮标签:用于批准或拒绝按钮的标签。默认选项分别为
Approve(批准)和Decline(拒绝)。 - 按钮样式:按钮的样式(主要或次要)。
此模式还提供以下选项:
🌐 This mode also offers the following options:
- 限制等待时间:工作流是否会在指定的时间限制后自动恢复执行。这可以是一个时间间隔或一个具体的实际时间。
- 添加 n8n 归属:设置是否在邮件末尾包含短语
This email was sent automatically with n8n(开启则包含,关闭则不包含)。
自由文本参数和选项(Free Text parameters and options)#
使用“自由文本”响应类型时,可以使用以下选项:
🌐 When using the Free Text response type, the following options are available:
- 消息按钮标签:用于消息按钮的标签。默认选择是
Respond。 - 回应表格标题:用户提供回应的表格标题。
- 回应表格说明:用于用户提供回应的表格说明。
- 响应表单按钮标签:表单上用于提交他们回应的按钮标签。默认选择是
Submit。 - 限制等待时间:工作流是否会在指定的时间限制后自动恢复执行。这可以是一个时间间隔或一个具体的实际时间。
- 添加 n8n 归属:设置是否在邮件末尾包含短语
This email was sent automatically with n8n(开启则包含,关闭则不包含)。
自定义表单参数和选项(Custom Form parameters and options)#
使用“自定义表单”响应类型时,你可以构建包含所需字段和选项的表单。
🌐 When using the Custom Form response type, you build a form using the fields and options you want.
你可以使用 n8n 表单触发器的表单元素 中列出的设置自定义每个表单元素。要添加更多字段,请选择 添加表单元素 按钮。
🌐 You can customize each form element with the settings outlined in the n8n Form trigger's form elements. To add more fields, select the Add Form Element button.
以下选项也可用:
🌐 The following options are also available:
- 消息按钮标签:用于消息按钮的标签。默认选择是
Respond。 - 回应表格标题:用户提供回应的表格标题。
- 回应表格说明:用于用户提供回应的表格说明。
- 响应表单按钮标签:表单上用于提交他们回应的按钮标签。默认选择是
Submit。 - 限制等待时间:工作流是否会在指定的时间限制后自动恢复执行。这可以是一个时间间隔或一个具体的实际时间。
- 添加 n8n 归属:设置是否在邮件末尾包含短语
This email was sent automatically with n8n(开启则包含,关闭则不包含)。