Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BadBase64Exception"/> class.
 /// </summary>
 /// <param name="smtpResponse">The smtpResponse<see cref="SmtpResponse"/></param>
 /// <param name="innerException">The innerException<see cref="Exception"/></param>
 public BadBase64Exception(SmtpResponse smtpResponse, Exception innerException)
     : base(smtpResponse, innerException)
 {
 }
Esempio n. 2
0
 public void WriteResponse(SmtpResponse response)
 {
     WriteLine(response.ToString().TrimEnd());
 }
Esempio n. 3
0
 public void WriteResponse(SmtpResponse response)
 {
     WriteLine(response.ToString().TrimEnd());
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BadBase64Exception"/> class.
 /// </summary>
 /// <param name="smtpResponse">The smtpResponse<see cref="SmtpResponse"/></param>
 public BadBase64Exception(SmtpResponse smtpResponse)
     : base(smtpResponse)
 {
 }
Esempio n. 5
0
 public BadBase64Exception(SmtpResponse smtpResponse) : base(smtpResponse)
 {
 }
Esempio n. 6
0
 public async Task WriteResponseAsync(SmtpResponse response)
 {
     await WriteLineAndFlushAsync(response.ToString().TrimEnd());
 }
Esempio n. 7
0
 public SmtpServerException(SmtpResponse smtpResponse, Exception innerException)
     : base(smtpResponse.Message, innerException)
 {
     SmtpResponse = smtpResponse;
 }
Esempio n. 8
0
 public BadBase64Exception(SmtpResponse smtpResponse, Exception innerException)
     : base(smtpResponse, innerException)
 {
 }
Esempio n. 9
0
 public SmtpServerException(SmtpResponse smtpResponse) : base(smtpResponse.Message)
 {
     SmtpResponse = smtpResponse;
 }
Esempio n. 10
0
 /// <inheritdoc/>
 public async Task WriteResponse(SmtpResponse response)
 {
     await this.WriteLineAndFlush(response.ToString().TrimEnd()).ConfigureAwait(false);
 }
Esempio n. 11
0
 public async Task WriteResponseAsync(SmtpResponse response)
 {
     await WriteLineAndFlushAsync(response.ToString().TrimEnd());
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SmtpServerException"/> class.
 /// </summary>
 /// <param name="smtpResponse">The smtpResponse<see cref="SmtpResponse"/>.</param>
 /// <param name="innerException">The innerException<see cref="Exception"/>.</param>
 public SmtpServerException(SmtpResponse smtpResponse, Exception innerException)
     : base(smtpResponse.Message, innerException)
 {
     this.SmtpResponse = smtpResponse;
 }
Esempio n. 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SmtpServerException"/> class.
 /// </summary>
 /// <param name="smtpResponse">The smtpResponse<see cref="SmtpResponse"/>.</param>
 public SmtpServerException(SmtpResponse smtpResponse)
     : base(smtpResponse.Message)
 {
     this.SmtpResponse = smtpResponse;
 }