看cf的文档好像能做到回复邮件
sunnywangzi opened this issue · comments
https://developers.cloudflare.com/email-routing/email-workers/reply-email-workers/
rt,能看看可以实现这个功能吗?感谢大佬
好的,我看一下
看起来只能加个自动回复,我加一下
To mitigate security risks and abuse, replying to incoming emails has a few requirements:
The incoming email has to have valid DMARC.
The email can only be replied to once in the same EmailMessage event.
The In-Reply-To header of the reply message must be set to the Message-ID of the incoming message.
The recipient in the reply must match the incoming sender.
The outgoing sender domain must match the same domain that received the email.
增加了设置页面,可设置自动回复
能不能把这个Message-ID存起来,在回复邮件的时候再调用那个模块,我看文档好像没有说必须要在一个时间段内回复
能不能把这个Message-ID存起来,在回复邮件的时候再调用那个模块,我看文档好像没有说必须要在一个时间段内回复
有限制的,具体我没试过,这个需要绑定 event.The email can only be replied to once in the same EmailMessage event.