MailBee.NET Objects 4.0

ErrorCodes.IllegalInMultiThreadMode Field

The requested operation cannot be performed in multi-thread mode.

public const int IllegalInMultiThreadMode = 8;

Remarks

For instance, GetServerResponse call is ambiguous in multi-thread mode, since it's not possible to determine for which SMTP connection the last response must be returned if there are multiple SMTP connections being opened. If you encounter this error, use Smtp component events to keep track of SMTP sessions.

See Also

ErrorCodes Class | MailBee Namespace