-
Notifications
You must be signed in to change notification settings - Fork 46
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
MailMessage.ReplyToList is ignored while the deprecated ReplyTo property does work #26
Comments
The Postmark API currently supports only a single ReplyTo address, and therefore setting a list of reply-to addresses would not be honored by the API. We could handle ReplyToList, but assert that it only has zero or one address in it, let me give this some thought and reply back later. If you have an opinion about how you'd like to see this handled, knowing that we support a single ReplyTo, I'd love to get your feedback. |
I think that handling a ReplyToList while ignoring all but the first address is something that developers would expect. Developers could be warned of it in the wiki (https://github.com/wildbit/postmark-dotnet/wiki/Using-System.Net.Mail.MailMessage):
|
7 years and still open? I have the same problem, ReplyToList is ignored, I use:
but when I answer to the received email in outlook, the recipient is the sender and not this no-reply address. |
When I send a MailMessage that has a ReplyTo set I get what I expect:
"Reply-To: TentantName [email protected]" in the raw source of the message:
When I send a MailMessage that has the same To, but added to the ReplyToList, there's no Reply-To in the raw source of the message.
I think that this code in SystemMailExtensions.cs:
should be extended to support a ReplyToList, also because ReplyTo is deprecated:
The text was updated successfully, but these errors were encountered: