You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
MimeKit.ParseException token at offset 30
Platform (please complete the following information):
OS: Windows 10.0.14393
.NET Runtime: .NET 5.0.9
.NET Framework: .NET 5
MailKit Version: 2.15.0
Exception
MimeKit.ParseException
MimeKit.ParseException: Unexpected token at offset 30
?, in void MailboxAddress.set_Address(string value)
?, in new MailboxAddress(Encoding encoding, string name, string address)
To Reproduce
Steps to reproduce the behavior:
create Mailbox Address with space in it
Expected behavior
Not throwing an error or giving more detail in the error message
Additional context
I know the reason for the error was the space at the end of one of the email addresses. I should have trimmed it but it would be nice if the error message was more descriptive or you trimmed the addresses.
The text was updated successfully, but these errors were encountered:
Describe the bug
MimeKit.ParseException token at offset 30
Platform (please complete the following information):
Exception
MimeKit.ParseException
MimeKit.ParseException: Unexpected token at offset 30
?, in void MailboxAddress.set_Address(string value)
?, in new MailboxAddress(Encoding encoding, string name, string address)
To Reproduce
Steps to reproduce the behavior:
create Mailbox Address with space in it
Expected behavior
Not throwing an error or giving more detail in the error message
Additional context
I know the reason for the error was the space at the end of one of the email addresses. I should have trimmed it but it would be nice if the error message was more descriptive or you trimmed the addresses.
The text was updated successfully, but these errors were encountered: