Mailgun 凭据(Mailgun credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
先决条件(Prerequisites)#
- 创建一个 Mailgun 账户。
- 在 Mailgun 中添加并验证域,或使用提供的沙箱域进行测试。
支持的身份验证方法(Supported authentication methods)#
- API 密钥
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Mailgun 的 API 文档。
🌐 Refer to Mailgun's API documentation for more information about the service.
使用 API 密钥(Using API key)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 一个 API 域:如果你的 Mailgun 账户位于欧洲,请选择 api.eu.mailgun.net;否则请选择 api.mailgun.net。有关更多信息,请参阅 Mailgun 基础 URL。
- 一个 电子邮件域:输入你使用的发送电子邮件域。如果你有多个发送域,请参阅 使用多个电子邮件域 获取更多信息。
- 一个 API 密钥:在 设置 > API 密钥 中查看你的 API 密钥。有关更详细的说明,请参阅 Mailgun 的 API 身份验证文档。
使用多个电子邮件域(Working with multiple email domains)#
如果你的 Mailgun 账户包含多个发送域,请为每个使用的邮件域创建单独的凭据。
🌐 If your Mailgun account includes multiple sending domains, create a separate credential for each email domain you're working with.