crazy-max / docker-msmtpd

Lightweight SMTP relay Docker image using msmtpd
MIT License
84 stars 8 forks source link

Question : how to get sent status ? #38

Closed mmallejac closed 2 years ago

mmallejac commented 2 years ago

Hello We've been using MSMTPD successfully for a while now, it really helps a lot. I am wondering if it is possible to get the sent status of an email. For sure not to the final recipient but to the relay we're sending the email to.

Thanks ! Michel

crazy-max commented 2 years ago

Yes we can add the dsn_notify and dsn_return commands as env vars: https://marlam.de/msmtp/msmtp.html#index-dsn_005fnotify

mmallejac commented 2 years ago

This is great, may thanks ! I'll give it a test very soon