SecureSocketOptions are not transmitted to ConnectAsync method #45
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
Hello!
I have a problem: mailkit.net.imap.imapprotocolexception the imap server has unexpectedly disconnected.
And i found a solution on stackoverflow: https://stackoverflow.com/questions/42292617/the-imap-server-has-unexpectedly-disconnected-using-993-port-and-mailkit
After that i started digging in your code and found an option to hand over this value from appsettings (if i clearly understand).
MailKitSimplified/source/MailKitSimplified.Receiver/Models/EmailReceiverOptions.cs
Line 27 in be28263
But there is a small problem that this parameter is not passed in method ConnectAsync on line 79:
MailKitSimplified/source/MailKitSimplified.Receiver/Models/EmailReceiverOptions.cs
Line 79 in be28263
Could you please pass this parameter in method, please?
And if you do, please show an example of using this parameters in appsettings.
Best regards.
The text was updated successfully, but these errors were encountered: