when configuring SMTP server in IIS, is there a way to intercept all incoming SMTP messages in a IIS C# module, and possibly change the SMTP message before forwarding it (similar to creating custom HTTP module by inheriting from IHttpModule)?
Asked
Active
Viewed 121 times
1 Answers
0
To monitor all incoming messages, you should write a windows service or an exe which can be scheduled to run once in every few seconds. The service can run on any windows server (with required softwares installed). To read more about how to check incoming emails, check this solution.