开发者

Bounced Email Handling: Better via IMAP or Piping?

开发者 https://www.devze.com 2023-04-02 09:36 出处:网络
Is it better to handle bounced emails by having them 1) sent to an IMAP server and then using a cron job to process each开发者_开发知识库 one, or 2) to have bounced messages pipe straight to a script

Is it better to handle bounced emails by having them 1) sent to an IMAP server and then using a cron job to process each开发者_开发知识库 one, or 2) to have bounced messages pipe straight to a script for processing.

Please justify your answer.

Pros/Cons would also be helpful.

Thanks!


To paraphrase Einstein, things should be as simple as possible, but no simpler. There is no benefit from the IMAP server for this scenario. If the overhead of processing a single message is high, it might make sense to queue messages for periodic batch processing, but that too can be done on the same server. Unless there are additional hidden requirements, I'd say this is a no-brainer.

0

精彩评论

暂无评论...
验证码 换一张
取 消