625 lines
24 KiB
C#
625 lines
24 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.IO;
|
|
using System.Net.Mime;
|
|
using System.Net.Sockets;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Mail
|
|
{
|
|
/// <summary>Allows applications to send email by using the Simple Mail Transfer Protocol (SMTP).</summary>
|
|
// Token: 0x020002B9 RID: 697
|
|
[Token(Token = "0x20002B9")]
|
|
[Obsolete]
|
|
public class SmtpClient : IDisposable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class that sends email by using the specified SMTP server.</summary>
|
|
/// <param name="host">A <see cref="T:System.String" /> that contains the name or IP address of the host computer used for SMTP transactions.</param>
|
|
// Token: 0x06001265 RID: 4709 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001265")]
|
|
[Address(RVA = "0x8B6860", Offset = "0x8B5860", VA = "0x1808B6860")]
|
|
public SmtpClient(string host)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class that sends email by using the specified SMTP server and port.</summary>
|
|
/// <param name="host">A <see cref="T:System.String" /> that contains the name or IP address of the host used for SMTP transactions.</param>
|
|
/// <param name="port">An <see cref="T:System.Int32" /> greater than zero that contains the port to be used on <paramref name="host" />.</param>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="port" /> cannot be less than zero.</exception>
|
|
// Token: 0x06001266 RID: 4710 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001266")]
|
|
[Address(RVA = "0x8B67B0", Offset = "0x8B57B0", VA = "0x1808B67B0")]
|
|
public SmtpClient(string host, int port)
|
|
{
|
|
}
|
|
|
|
/// <summary>Specify which certificates should be used to establish the Secure Sockets Layer (SSL) connection.</summary>
|
|
/// <returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection" />, holding one or more client certificates. The default value is derived from the mail configuration attributes in a configuration file.</returns>
|
|
// Token: 0x170003C8 RID: 968
|
|
// (get) Token: 0x06001267 RID: 4711 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170003C8")]
|
|
[MonoTODO]
|
|
public X509CertificateCollection ClientCertificates
|
|
{
|
|
[Token(Token = "0x6001267")]
|
|
[Address(RVA = "0x8B6900", Offset = "0x8B5900", VA = "0x1808B6900")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the credentials used to authenticate the sender.</summary>
|
|
/// <returns>An <see cref="T:System.Net.ICredentialsByHost" /> that represents the credentials to use for authentication; or <see langword="null" /> if no credentials have been specified.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
|
|
// Token: 0x170003C9 RID: 969
|
|
// (get) Token: 0x06001268 RID: 4712 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06001269 RID: 4713 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170003C9")]
|
|
public ICredentialsByHost Credentials
|
|
{
|
|
[Token(Token = "0x6001268")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001269")]
|
|
[Address(RVA = "0x8B6960", Offset = "0x8B5960", VA = "0x1808B6960")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Specify whether the <see cref="T:System.Net.Mail.SmtpClient" /> uses Secure Sockets Layer (SSL) to encrypt the connection.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Net.Mail.SmtpClient" /> uses SSL; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x170003CA RID: 970
|
|
// (set) Token: 0x0600126A RID: 4714 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170003CA")]
|
|
public bool EnableSsl
|
|
{
|
|
[Token(Token = "0x600126A")]
|
|
[Address(RVA = "0x8B69E0", Offset = "0x8B59E0", VA = "0x1808B69E0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the name or IP address of the host used for SMTP transactions.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the name or IP address of the computer to use for SMTP transactions.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The value specified for a set operation is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The value specified for a set operation is equal to <see cref="F:System.String.Empty" /> ("").</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
|
|
// Token: 0x170003CB RID: 971
|
|
// (get) Token: 0x0600126B RID: 4715 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170003CB")]
|
|
public string Host
|
|
{
|
|
[Token(Token = "0x600126B")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the port used for SMTP transactions.</summary>
|
|
/// <returns>An <see cref="T:System.Int32" /> that contains the port number on the SMTP host. The default value is 25.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified for a set operation is less than or equal to zero.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
|
|
// Token: 0x170003CC RID: 972
|
|
// (set) Token: 0x0600126C RID: 4716 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170003CC")]
|
|
public int Port
|
|
{
|
|
[Token(Token = "0x600126C")]
|
|
[Address(RVA = "0x8B6A60", Offset = "0x8B5A60", VA = "0x1808B6A60")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a <see cref="T:System.Boolean" /> value that controls whether the <see cref="P:System.Net.CredentialCache.DefaultCredentials" /> are sent with requests.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the default credentials are used; otherwise <see langword="false" />. The default value is <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.InvalidOperationException">You cannot change the value of this property when an email is being sent.</exception>
|
|
// Token: 0x170003CD RID: 973
|
|
// (get) Token: 0x0600126D RID: 4717 RVA: 0x00008838 File Offset: 0x00006A38
|
|
[Token(Token = "0x170003CD")]
|
|
public bool UseDefaultCredentials
|
|
{
|
|
[Token(Token = "0x600126D")]
|
|
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, and releases all resources used by the current instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class.</summary>
|
|
// Token: 0x0600126E RID: 4718 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600126E")]
|
|
[Address(RVA = "0x8A0300", Offset = "0x89F300", VA = "0x1808A0300", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>Sends a QUIT message to the SMTP server, gracefully ends the TCP connection, releases all resources used by the current instance of the <see cref="T:System.Net.Mail.SmtpClient" /> class, and optionally disposes of the managed resources.</summary>
|
|
/// <param name="disposing">
|
|
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to releases only unmanaged resources.</param>
|
|
// Token: 0x0600126F RID: 4719 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600126F")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
|
[MonoTODO]
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001270 RID: 4720 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001270")]
|
|
[Address(RVA = "0x8B13D0", Offset = "0x8B03D0", VA = "0x1808B13D0")]
|
|
private void CheckState()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001271 RID: 4721 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001271")]
|
|
[Address(RVA = "0x8B14D0", Offset = "0x8B04D0", VA = "0x1808B14D0")]
|
|
private static string EncodeAddress(MailAddress address)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001272 RID: 4722 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001272")]
|
|
[Address(RVA = "0x8B17C0", Offset = "0x8B07C0", VA = "0x1808B17C0")]
|
|
private static string EncodeAddresses(MailAddressCollection addresses)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001273 RID: 4723 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001273")]
|
|
[Address(RVA = "0x8B1C30", Offset = "0x8B0C30", VA = "0x1808B1C30")]
|
|
private string EncodeSubjectRFC2047(MailMessage message)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001274 RID: 4724 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001274")]
|
|
[Address(RVA = "0x8B1AF0", Offset = "0x8B0AF0", VA = "0x1808B1AF0")]
|
|
private string EncodeBody(MailMessage message)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001275 RID: 4725 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001275")]
|
|
[Address(RVA = "0x8B19B0", Offset = "0x8B09B0", VA = "0x1808B19B0")]
|
|
private string EncodeBody(AlternateView av)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001276 RID: 4726 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001276")]
|
|
[Address(RVA = "0x8B1CB0", Offset = "0x8B0CB0", VA = "0x1808B1CB0")]
|
|
private void EndSection(string section)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001277 RID: 4727 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001277")]
|
|
[Address(RVA = "0x8B1D30", Offset = "0x8B0D30", VA = "0x1808B1D30")]
|
|
private string GenerateBoundary()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001278 RID: 4728 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001278")]
|
|
[Address(RVA = "0x8B1DF0", Offset = "0x8B0DF0", VA = "0x1808B1DF0")]
|
|
private static string GenerateBoundary(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001279 RID: 4729 RVA: 0x00008850 File Offset: 0x00006A50
|
|
[Token(Token = "0x6001279")]
|
|
[Address(RVA = "0x8B2270", Offset = "0x8B1270", VA = "0x1808B2270")]
|
|
private bool IsError(SmtpClient.SmtpResponse status)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0600127A RID: 4730 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600127A")]
|
|
[Address(RVA = "0x8B1360", Offset = "0x8B0360", VA = "0x1808B1360")]
|
|
private void CheckCancellation()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600127B RID: 4731 RVA: 0x00008868 File Offset: 0x00006A68
|
|
[Token(Token = "0x600127B")]
|
|
[Address(RVA = "0x8B24B0", Offset = "0x8B14B0", VA = "0x1808B24B0")]
|
|
private SmtpClient.SmtpResponse Read()
|
|
{
|
|
return default(SmtpClient.SmtpResponse);
|
|
}
|
|
|
|
// Token: 0x0600127C RID: 4732 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600127C")]
|
|
[Address(RVA = "0x8B2860", Offset = "0x8B1860", VA = "0x1808B2860")]
|
|
private void ResetExtensions()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600127D RID: 4733 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600127D")]
|
|
[Address(RVA = "0x8B2280", Offset = "0x8B1280", VA = "0x1808B2280")]
|
|
private void ParseExtensions(string extens)
|
|
{
|
|
}
|
|
|
|
/// <summary>Sends the specified message to an SMTP server for delivery.</summary>
|
|
/// <param name="message">A <see cref="T:System.Net.Mail.MailMessage" /> that contains the message to send.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="message" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">This <see cref="T:System.Net.Mail.SmtpClient" /> has a <see cref="Overload:System.Net.Mail.SmtpClient.SendAsync" /> call in progress.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.Mail.MailMessage.From" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// There are no recipients specified in <see cref="P:System.Net.Mail.MailMessage.To" />, <see cref="P:System.Net.Mail.MailMessage.CC" />, and <see cref="P:System.Net.Mail.MailMessage.Bcc" /> properties.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.Network" /> and <see cref="P:System.Net.Mail.SmtpClient.Host" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.Network" /> and <see cref="P:System.Net.Mail.SmtpClient.Host" /> is equal to the empty string ("").
|
|
/// -or-
|
|
/// <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.Network" /> and <see cref="P:System.Net.Mail.SmtpClient.Port" /> is zero, a negative number, or greater than 65,535.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">This object has been disposed.</exception>
|
|
/// <exception cref="T:System.Net.Mail.SmtpException">The connection to the SMTP server failed.
|
|
/// -or-
|
|
/// Authentication failed.
|
|
/// -or-
|
|
/// The operation timed out.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.Mail.SmtpClient.EnableSsl" /> is set to <see langword="true" /> but the <see cref="P:System.Net.Mail.SmtpClient.DeliveryMethod" /> property is set to <see cref="F:System.Net.Mail.SmtpDeliveryMethod.SpecifiedPickupDirectory" /> or <see cref="F:System.Net.Mail.SmtpDeliveryMethod.PickupDirectoryFromIis" />.
|
|
/// -or-
|
|
/// <see cref="P:System.Net.Mail.SmtpClient.EnableSsl" /> is set to <see langword="true," /> but the SMTP mail server did not advertise STARTTLS in the response to the EHLO command.</exception>
|
|
/// <exception cref="T:System.Net.Mail.SmtpFailedRecipientException">The <paramref name="message" /> could not be delivered to one of the recipients in <see cref="P:System.Net.Mail.MailMessage.To" />, <see cref="P:System.Net.Mail.MailMessage.CC" />, or <see cref="P:System.Net.Mail.MailMessage.Bcc" />.</exception>
|
|
/// <exception cref="T:System.Net.Mail.SmtpFailedRecipientsException">The <paramref name="message" /> could not be delivered to two or more of the recipients in <see cref="P:System.Net.Mail.MailMessage.To" />, <see cref="P:System.Net.Mail.MailMessage.CC" />, or <see cref="P:System.Net.Mail.MailMessage.Bcc" />.</exception>
|
|
// Token: 0x0600127E RID: 4734 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600127E")]
|
|
[Address(RVA = "0x8B5D20", Offset = "0x8B4D20", VA = "0x1808B5D20")]
|
|
public void Send(MailMessage message)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600127F RID: 4735 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600127F")]
|
|
[Address(RVA = "0x8B4AF0", Offset = "0x8B3AF0", VA = "0x1808B4AF0")]
|
|
private void SendInternal(MailMessage message)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001280 RID: 4736 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001280")]
|
|
[Address(RVA = "0x8B53D0", Offset = "0x8B43D0", VA = "0x1808B53D0")]
|
|
private void SendToFile(MailMessage message)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001281 RID: 4737 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001281")]
|
|
[Address(RVA = "0x8B3730", Offset = "0x8B2730", VA = "0x1808B3730")]
|
|
private void SendCore(MailMessage message)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001282 RID: 4738 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001282")]
|
|
[Address(RVA = "0x8B4A10", Offset = "0x8B3A10", VA = "0x1808B4A10")]
|
|
private void SendDot()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001283 RID: 4739 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001283")]
|
|
[Address(RVA = "0x8B4850", Offset = "0x8B3850", VA = "0x1808B4850")]
|
|
private void SendData(string data)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001284 RID: 4740 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001284")]
|
|
[Address(RVA = "0x8B0CF0", Offset = "0x8AFCF0", VA = "0x1808B0CF0")]
|
|
private void AddPriorityHeader(MailMessage message)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001285 RID: 4741 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001285")]
|
|
[Address(RVA = "0x8B5030", Offset = "0x8B4030", VA = "0x1808B5030")]
|
|
private void SendSimpleBody(MailMessage message)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001286 RID: 4742 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001286")]
|
|
[Address(RVA = "0x8B33F0", Offset = "0x8B23F0", VA = "0x1808B33F0")]
|
|
private void SendBodylessSingleAlternate(AlternateView av)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001287 RID: 4743 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001287")]
|
|
[Address(RVA = "0x8B5C30", Offset = "0x8B4C30", VA = "0x1808B5C30")]
|
|
private void SendWithoutAttachments(MailMessage message, string boundary, bool attachmentExists)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001288 RID: 4744 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001288")]
|
|
[Address(RVA = "0x8B58F0", Offset = "0x8B48F0", VA = "0x1808B58F0")]
|
|
private void SendWithAttachments(MailMessage message)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001289 RID: 4745 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001289")]
|
|
[Address(RVA = "0x8B2C30", Offset = "0x8B1C30", VA = "0x1808B2C30")]
|
|
private void SendBodyWithAlternateViews(MailMessage message, string boundary, bool attachmentExists)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600128A RID: 4746 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600128A")]
|
|
[Address(RVA = "0x8B4CD0", Offset = "0x8B3CD0", VA = "0x1808B4CD0")]
|
|
private void SendLinkedResources(MailMessage message, LinkedResourceCollection resources, string boundary)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600128B RID: 4747 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600128B")]
|
|
[Address(RVA = "0x8B2870", Offset = "0x8B1870", VA = "0x1808B2870")]
|
|
private void SendAttachments(MailMessage message, Attachment body, string boundary)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600128C RID: 4748 RVA: 0x00008880 File Offset: 0x00006A80
|
|
[Token(Token = "0x600128C")]
|
|
[Address(RVA = "0x8B3670", Offset = "0x8B2670", VA = "0x1808B3670")]
|
|
private SmtpClient.SmtpResponse SendCommand(string command)
|
|
{
|
|
return default(SmtpClient.SmtpResponse);
|
|
}
|
|
|
|
// Token: 0x0600128D RID: 4749 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600128D")]
|
|
[Address(RVA = "0x8B4A80", Offset = "0x8B3A80", VA = "0x1808B4A80")]
|
|
private void SendHeader(string name, string value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600128E RID: 4750 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600128E")]
|
|
[Address(RVA = "0x8B6180", Offset = "0x8B5180", VA = "0x1808B6180")]
|
|
private void StartSection(string section, ContentType sectionContentType)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600128F RID: 4751 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600128F")]
|
|
[Address(RVA = "0x8B5F70", Offset = "0x8B4F70", VA = "0x1808B5F70")]
|
|
private void StartSection(string section, ContentType sectionContentType, AttachmentBase att)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001290 RID: 4752 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001290")]
|
|
[Address(RVA = "0x8B6270", Offset = "0x8B5270", VA = "0x1808B6270")]
|
|
private void StartSection(string section, ContentType sectionContentType, Attachment att, bool sendDisposition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001291 RID: 4753 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001291")]
|
|
[Address(RVA = "0x8B6770", Offset = "0x8B5770", VA = "0x1808B6770")]
|
|
private string ToQuotedPrintable(string input, Encoding enc)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001292 RID: 4754 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001292")]
|
|
[Address(RVA = "0x8B64F0", Offset = "0x8B54F0", VA = "0x1808B64F0")]
|
|
private string ToQuotedPrintable(byte[] bytes)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001293 RID: 4755 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001293")]
|
|
[Address(RVA = "0x8B1EA0", Offset = "0x8B0EA0", VA = "0x1808B1EA0")]
|
|
private static string GetTransferEncodingName(TransferEncoding encoding)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001294 RID: 4756 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001294")]
|
|
[Address(RVA = "0x8B1F10", Offset = "0x8B0F10", VA = "0x1808B1F10")]
|
|
private void InitiateSecureConnection()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001295 RID: 4757 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001295")]
|
|
[Address(RVA = "0x8B0E90", Offset = "0x8AFE90", VA = "0x1808B0E90")]
|
|
private void Authenticate()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001296 RID: 4758 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001296")]
|
|
[Address(RVA = "0x8B1440", Offset = "0x8B0440", VA = "0x1808B1440")]
|
|
private void CheckStatus(SmtpClient.SmtpResponse status, int i)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001297 RID: 4759 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001297")]
|
|
[Address(RVA = "0x8B0F60", Offset = "0x8AFF60", VA = "0x1808B0F60")]
|
|
private void Authenticate(string user, string password)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000AE3 RID: 2787
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000AE3")]
|
|
private string host;
|
|
|
|
// Token: 0x04000AE4 RID: 2788
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000AE4")]
|
|
private int port;
|
|
|
|
// Token: 0x04000AE5 RID: 2789
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x4000AE5")]
|
|
private int timeout;
|
|
|
|
// Token: 0x04000AE6 RID: 2790
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000AE6")]
|
|
private ICredentialsByHost credentials;
|
|
|
|
// Token: 0x04000AE7 RID: 2791
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000AE7")]
|
|
private string pickupDirectoryLocation;
|
|
|
|
// Token: 0x04000AE8 RID: 2792
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000AE8")]
|
|
private SmtpDeliveryMethod deliveryMethod;
|
|
|
|
// Token: 0x04000AE9 RID: 2793
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x4000AE9")]
|
|
private bool enableSsl;
|
|
|
|
// Token: 0x04000AEA RID: 2794
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000AEA")]
|
|
private X509CertificateCollection clientCertificates;
|
|
|
|
// Token: 0x04000AEB RID: 2795
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000AEB")]
|
|
private TcpClient client;
|
|
|
|
// Token: 0x04000AEC RID: 2796
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000AEC")]
|
|
private Stream stream;
|
|
|
|
// Token: 0x04000AED RID: 2797
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000AED")]
|
|
private StreamWriter writer;
|
|
|
|
// Token: 0x04000AEE RID: 2798
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000AEE")]
|
|
private StreamReader reader;
|
|
|
|
// Token: 0x04000AEF RID: 2799
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4000AEF")]
|
|
private int boundaryIndex;
|
|
|
|
// Token: 0x04000AF0 RID: 2800
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4000AF0")]
|
|
private MailAddress defaultFrom;
|
|
|
|
// Token: 0x04000AF1 RID: 2801
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4000AF1")]
|
|
private MailMessage messageInProcess;
|
|
|
|
// Token: 0x04000AF2 RID: 2802
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4000AF2")]
|
|
private BackgroundWorker worker;
|
|
|
|
// Token: 0x04000AF3 RID: 2803
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4000AF3")]
|
|
private SmtpClient.AuthMechs authMechs;
|
|
|
|
// Token: 0x04000AF4 RID: 2804
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000AF4")]
|
|
private Mutex mutex;
|
|
|
|
// Token: 0x020002BA RID: 698
|
|
[Token(Token = "0x20002BA")]
|
|
[Flags]
|
|
private enum AuthMechs
|
|
{
|
|
// Token: 0x04000AF6 RID: 2806
|
|
[Token(Token = "0x4000AF6")]
|
|
None = 0,
|
|
// Token: 0x04000AF7 RID: 2807
|
|
[Token(Token = "0x4000AF7")]
|
|
Login = 1,
|
|
// Token: 0x04000AF8 RID: 2808
|
|
[Token(Token = "0x4000AF8")]
|
|
Plain = 2
|
|
}
|
|
|
|
// Token: 0x020002BB RID: 699
|
|
[Token(Token = "0x20002BB")]
|
|
private class CancellationException : Exception
|
|
{
|
|
// Token: 0x06001298 RID: 4760 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001298")]
|
|
[Address(RVA = "0x8A0FE0", Offset = "0x89FFE0", VA = "0x1808A0FE0")]
|
|
public CancellationException()
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x020002BC RID: 700
|
|
[Token(Token = "0x20002BC")]
|
|
private struct SmtpResponse
|
|
{
|
|
// Token: 0x06001299 RID: 4761 RVA: 0x00008898 File Offset: 0x00006A98
|
|
[Token(Token = "0x6001299")]
|
|
[Address(RVA = "0x8B88E0", Offset = "0x8B78E0", VA = "0x1808B88E0")]
|
|
public static SmtpClient.SmtpResponse Parse(string line)
|
|
{
|
|
return default(SmtpClient.SmtpResponse);
|
|
}
|
|
|
|
// Token: 0x04000AF9 RID: 2809
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000AF9")]
|
|
public SmtpStatusCode StatusCode;
|
|
|
|
// Token: 0x04000AFA RID: 2810
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4000AFA")]
|
|
public string Description;
|
|
}
|
|
}
|
|
}
|