-
-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for setting dsn per email in smpt client #136
Comments
I've implemented support for this now, but currently you'd need to subclass SmtpClient to use it (and override GetDeliveryStatusNotifications). I also implemented support for the ENVID param since that looked useful for anyone writing an automated system to track DSN's. If that's good enough for your needs, I can close this and call it done. Otherwise I can possibly look into adding more Send() overloads, I would just prefer not to if I can help it. |
Thanks, this looks great. I'll take a look at it tomorrow. It's seems to be what I was looking for. Great work :) |
Hi. I tested it yesterday, and it's working just fine. Thanks again :) |
I just released MailKit 1.0.5 to NuGet this morning with this fix. |
Hi. Thanks, then I'll update the packages to use nuget instead. Best regards David Clarke Cell: +46 (0) 735 - 09 00 65 Bosbec AB Head office: Jeffrey Stedfast skrev den 2015-01-08 16:15:
|
I would want to be able to set per email which delivery notifications should be sent back to the return-path in the smtp client.
They describe in below rfc's how this should be implemented:
https://www.ietf.org/rfc/rfc3461.txt
https://www.ietf.org/rfc/rfc1891.txt
It's possible to do quite alot here, but for me simply setting per email (per send) would be just fine.
Thanks
/David
The text was updated successfully, but these errors were encountered: