120 _connection.EnableSsl =
true;
138 _connection.EnableSsl =
true;
233 exception.fatal =
true;
void Add(TKey key, TValue value)
static void Send(SmtpConnection conn)
static void Send(SmtpConnection conn, byte[] command, MailAddress from, bool allowUnicode)
static bool Send(SmtpConnection conn, string to, out string response)
static MailWriter End(IAsyncResult result)
static readonly byte[] Mail
SmtpReplyReaderFactory Reader
IAsyncResult BeginGetConnection(System.Net.ContextAwareResult outerResult, AsyncCallback callback, object state, string host, int port)
void GetConnection(string host, int port)
void EndGetConnection(IAsyncResult result)
Stream GetClosableStream()
SmtpStatusCode StatusCode
ICredentialsByHost Credentials
MailWriter SendMail(MailAddress sender, MailAddressCollection recipients, string deliveryNotify, bool allowUnicode, out SmtpFailedRecipientException exception)
void EndGetConnection(IAsyncResult result)
SmtpTransport(SmtpClient client)
IAsyncResult BeginGetConnection(System.Net.ContextAwareResult outerResult, AsyncCallback callback, object state, string host, int port)
MailWriter EndSendMail(IAsyncResult result)
SmtpTransport(SmtpClient client, ISmtpAuthenticationModule[] authenticationModules)
ICredentialsByHost _credentials
X509CertificateCollection ClientCertificates
IAsyncResult BeginSendMail(MailAddress sender, MailAddressCollection recipients, string deliveryNotify, bool allowUnicode, AsyncCallback callback, object state)
void GetConnection(string host, int port)
readonly List< SmtpFailedRecipientException > _failedRecipientExceptions
readonly SmtpClient _client
SmtpConnection _connection
readonly ISmtpAuthenticationModule[] _authenticationModules
X509CertificateCollection _clientCertificates
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static void Associate(object first, object second, [CallerMemberName] string memberName=null)
static string MailHostNotFound