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
Specified argument was out of the range of valid values. (Parameter 'minimumLength')
at System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1.Rent(Int32 minimumLength)
at MimeKit.Utils.MimeUtils.Unquote(Byte[] text, Int32 startIndex, Int32 length, Boolean convertTabsToSpaces) in D:\src\MimeKit\MimeKit\Utils\MimeUtils.cs:line 584
at MimeKit.InternetAddress.TryParse(AddressParserFlags flags, ParserOptions options, Byte[] text, Int32& index, Int32 endIndex, Int32 groupDepth, InternetAddress& address) in D:\src\MimeKit\MimeKit\InternetAddress.cs:line 856
at MimeKit.InternetAddressList.TryParse(AddressParserFlags flags, ParserOptions options, Byte[] text, Int32& index, Int32 endIndex, Boolean isGroup, Int32 groupDepth, List`1& addresses) in D:\src\MimeKit\MimeKit\InternetAddressList.cs:line 592
at MimeKit.MimeMessage.AddAddresses(Header header, InternetAddressList list) in D:\src\MimeKit\MimeKit\MimeMessage.cs:line 2475
at MimeKit.MimeMessage.GetLazyLoadedAddresses(HeaderId id, LazyLoadedFields bit) in D:\src\MimeKit\MimeKit\MimeMessage.cs:line 571
at MimeKit.MimeMessage.get_From() in D:\src\MimeKit\MimeKit\MimeMessage.cs:line 596
at UserQuery.Main(), line 4
Describe the bug
An email with a single character From Name throws exception when trying to read the From address
Platform:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Can get the name/address from the From field
Code Snippets
Additional context
File that crashes
test1char.txt
The text was updated successfully, but these errors were encountered: