-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Working with the NULL Sender Address #302
Comments
I should also mention that I've tried:
but that throws a ParseException |
SMTP requires a sender address. You don't have to add it to the message, though. |
never mind, I guess it is allowed. |
SMTP allows empty return-path addr-specs in MAIL FROM. Fixes issue #302
Hi, Thanks for fixing that so quickly - I'm able to create an instance of the MailboxAddress with an empty address now, but when I call MailKit.Net.Smtp.SmtpClient.Send I'm getting the exception "Index was outside the bounds of the array" at MimeKit.InternetAddress.TryParseLocalPart. Again, I think this worked back in v1.10 - but now it validates the sender address when calling that method. I'm wondering whether the NULL sender address should be treated as a special case and have a check for that up front when validating the sender? I took a look at the code but it wasnt clear to me where the validation was happening. |
It should work now. |
Thanks for getting this sorted so quickly. Do you have a plan for the next release date yet? |
End of May I guess. I've been really busy and don't have time to make a release right now. |
Hi,
A quick question - how should I be working with the NULL Sender address in MimeKit?
Back in v1.10 I was able to create an instance of the NULL Sender address like this:
However, in v1.16 I receive a ArgumentException when doing this.
I want so be able to send a DSN from the NULL Sender by doing something like this:
Thanks!
The text was updated successfully, but these errors were encountered: