如何将 Outlook 转发电子邮件发送到 AWS SES [英] How to make outlook forward email to AWS SES

查看:57
本文介绍了如何将 Outlook 转发电子邮件发送到 AWS SES的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我在 Outlook 帐户中收到电子邮件时,我都会尝试调用 AWS Lambda 函数.在遵循 AWS 文档时,我发现有两种方法可以发布 MX 记录或明确路由它.就我而言,我已经在 Outlook 和我的私人域之间发布了 MX.所以我在尝试第二种方法.

I am trying to invoke AWS Lambda function whenever I recieve an email in my outlook account. While following AWS documentation I found there are two ways to do so either to publish the MX record or to explicitly route it. In my case I have already published MX between outlook and my private domain. So I was trying for the second method.

在 Outlook 转发规则中,需要提供什么 SES 地址?是 something@inbound-smtp.us-east-1.amazonaws.com 还是别的什么

In outlook forwarding rule what SES address needs to be given? Is it something@inbound-smtp.us-east-1.amazonaws.com or something else

推荐答案

提到的转发规则方法不是类似于标准电子邮件地址转发,您可以在其中配置someone@email.com 将其所有电子邮件转发/发送到 someone-else@email.com.

The forwarding rule method mentioned is not similar to standard email address forwarding where you can configure someone@email.com to have all its emails forwarded/sent to someone-else@email.com.

相反,它特指一种称为SMTP Relaying的方法.

Instead, it is referring specifically to a method known as SMTP Relaying.

话虽如此,但如果您已成功指向 MX 记录,则无需配置额外的 SMTP 中继.但是,您确实需要在 SES 中创建必要的规则,以便指定域上要为其处理入站电子邮件的特定电子邮件地址.

That said though, if you have successfully pointed the MX record, then you do not need to configure an additional SMTP Relay. You do, however, need to create necessary rules in SES in order to specify the specific email addresses on the domain that you wish to process inbound email for.

以下是将传入电子邮件保存到 S3 以供特定 Lambda 函数处理的常见活动规则集配置示例:

  1. 规则名称:saveToS3 (您可以任意命名):
    • 选择此规则应适用的电子邮件地址 (recipients).
    • 选择 S3 作为操作类型.
    • 选择/创建用于保存电子邮件的 S3 存储桶.
    • 注意:您也可以使用 SNS 来保存电子邮件.
    • 保存规则.
  1. Rule Name: saveToS3 (you can name it anything):
    • Choose the email addresses (recipients) this rule should apply to.
    • Select S3 as the Action Type.
    • Choose/Create the S3 Bucket to Save the Email Messages to.
    • Note: You can alternatively use SNS to save the email messages in.
    • Save Rule.
  • 选择此规则应适用的电子邮件地址(收件人).
  • 选择 Lambda 作为操作类型.
  • 选择在 SES 将电子邮件正文保存到 S3 后要调用的 Lambda 函数(Lambda 不能直接访问电子邮件的正文内容,这就是为什么必须首先将其保存在 S3 SNS).
  • 保存规则.
  • Choose the email addresses (recipients) this rule should apply to.
  • Select Lambda as the Action Type.
  • Choose the Lambda function to be invoked after SES has saved the email body to S3 (Lambda cannot directly access the body content of the email, this is why it must first be saved in either S3 OR SNS).
  • Save Rule.
  • 选择此规则应适用的电子邮件地址(收件人).
  • 选择停止规则作为操作类型.
  • 保存规则.

<小时>

一旦设置了这些规则,并假设您已正确验证域并正确指向 MX 记录,SES 将开始接收活动规则集中指定的电子邮件地址的所有传入电子邮件.


Once these rules are set, and assuming that you have correctly verified the domain and properly pointed the MX records, SES will begin receiving all incoming email for the email addresses specified in the active rule set.

放心请参阅此 AWS 博客文章,了解有关使用 SES 接收电子邮件并使用 Lambda 进行处理的更多信息.

这篇关于如何将 Outlook 转发电子邮件发送到 AWS SES的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆