/// <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) { }
public void WriteResponse(SmtpResponse response) { WriteLine(response.ToString().TrimEnd()); }
/// <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) { }
public BadBase64Exception(SmtpResponse smtpResponse) : base(smtpResponse) { }
public async Task WriteResponseAsync(SmtpResponse response) { await WriteLineAndFlushAsync(response.ToString().TrimEnd()); }
public SmtpServerException(SmtpResponse smtpResponse, Exception innerException) : base(smtpResponse.Message, innerException) { SmtpResponse = smtpResponse; }
public BadBase64Exception(SmtpResponse smtpResponse, Exception innerException) : base(smtpResponse, innerException) { }
public SmtpServerException(SmtpResponse smtpResponse) : base(smtpResponse.Message) { SmtpResponse = smtpResponse; }
/// <inheritdoc/> public async Task WriteResponse(SmtpResponse response) { await this.WriteLineAndFlush(response.ToString().TrimEnd()).ConfigureAwait(false); }
/// <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; }
/// <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; }