예제 #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)
 {
 }
예제 #2
0
 public void WriteResponse(SmtpResponse response)
 {
     WriteLine(response.ToString().TrimEnd());
 }
예제 #3
0
 public void WriteResponse(SmtpResponse response)
 {
     WriteLine(response.ToString().TrimEnd());
 }
예제 #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)
 {
 }
예제 #5
0
 public BadBase64Exception(SmtpResponse smtpResponse) : base(smtpResponse)
 {
 }
예제 #6
0
 public async Task WriteResponseAsync(SmtpResponse response)
 {
     await WriteLineAndFlushAsync(response.ToString().TrimEnd());
 }
예제 #7
0
 public SmtpServerException(SmtpResponse smtpResponse, Exception innerException)
     : base(smtpResponse.Message, innerException)
 {
     SmtpResponse = smtpResponse;
 }
예제 #8
0
 public BadBase64Exception(SmtpResponse smtpResponse, Exception innerException)
     : base(smtpResponse, innerException)
 {
 }
예제 #9
0
 public SmtpServerException(SmtpResponse smtpResponse) : base(smtpResponse.Message)
 {
     SmtpResponse = smtpResponse;
 }
예제 #10
0
 /// <inheritdoc/>
 public async Task WriteResponse(SmtpResponse response)
 {
     await this.WriteLineAndFlush(response.ToString().TrimEnd()).ConfigureAwait(false);
 }
예제 #11
0
 public async Task WriteResponseAsync(SmtpResponse response)
 {
     await WriteLineAndFlushAsync(response.ToString().TrimEnd());
 }
예제 #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;
 }
예제 #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;
 }