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

查看:129
本文介绍了如何将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地址?是东西@ 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.
  • 选择此规则应适用的电子邮件地址(recipients).
  • 选择Lambda作为操作类型.
  • 选择在SES将电子邮件正文保存到S3 后要调用的Lambda函数(Lambda无法直接访问电子邮件的正文内容,这就是为什么必须先将其保存在S3中的原因 OR 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.
  • 选择此规则应适用的电子邮件地址(recipients).
  • 选择Stop Rule作为操作类型.
  • 保存规则.
  • Choose the email addresses (recipients) this rule should apply to.
  • Select Stop Rule as the Action Type.
  • 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 Blog帖子以获取有关使用SES接收电子邮件和使用Lambda处理电子邮件的更多信息.

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

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