Mailkit: [Question] NoOp called in the same time as Send an issue?

Created on 13 Mar 2020  路  1Comment  路  Source: jstedfast/MailKit

I'm aware that there's no thread-safety for Send, but does that apply in-general to using the SmtpClient's publicly available methods?

Meaning if one thread is calling say Send, Verify, NoOp, no other thread is allowed to use the object, until the previously called operation completes?

Or is it only an issue if two threads call the same public method?

question

Most helpful comment

It's a problem if more than 1 thread calls any method on SmtpClient that sends any sort of command to the server.

>All comments

It's a problem if more than 1 thread calls any method on SmtpClient that sends any sort of command to the server.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SpiritBob picture SpiritBob  路  4Comments

Radzhab picture Radzhab  路  3Comments

truane picture truane  路  4Comments

ghost picture ghost  路  3Comments

spchaplin picture spchaplin  路  3Comments