Closed xfengw closed 3 years ago
Not with this library. I suggest you configure your MTA to forward messages to a program. In postfix this can be done by adding a line like:
localpart: "|/path/to/program --params"
to /etc/aliases
See: https://serverfault.com/questions/506894/how-to-route-email-to-a-script/507024
How to accept email