|
|
public class AlternateView
|
|
|
: AttachmentBase, IDisposable
|
|
|
public Uri BaseUri { get; set; }
|
|
|
public LinkedResourceCollection LinkedResources { get; }
|
|
|
static public AlternateView CreateAlternateViewFromString(String content);
|
|
|
static public AlternateView CreateAlternateViewFromString(String content, Encoding contentEncoding, String mediaType);
|
|
|
static public AlternateView CreateAlternateViewFromString(String content, ContentType contentType);
|
|
|
protected virtual void Dispose(Boolean disposing);
|
|
|
public sealed class AlternateViewCollection
|
|
|
: Collection`1<AlternateView>, IList`1<AlternateView>, ICollection`1<AlternateView>, IEnumerable`1<AlternateView>, IEnumerable, IList, ICollection, IReadOnlyList`1<AlternateView>, IDisposable
|
|
|
protected virtual void ClearItems();
|
|
|
public virtual void Dispose();
|
|
|
protected virtual void InsertItem(Int32 index, AlternateView item);
|
|
|
protected virtual void RemoveItem(Int32 index);
|
|
|
protected virtual void SetItem(Int32 index, AlternateView item);
|
|
|
public class Attachment
|
|
|
: AttachmentBase, IDisposable
|
|
|
public ContentDisposition ContentDisposition { get; }
|
|
|
public String Name { get; set; }
|
|
|
public Encoding NameEncoding { get; set; }
|
|
|
static public Attachment CreateAttachmentFromString(String content, String name);
|
|
|
static public Attachment CreateAttachmentFromString(String content, String name, Encoding contentEncoding, String mediaType);
|
|
|
static public Attachment CreateAttachmentFromString(String content, ContentType contentType);
|
|
|
public sealed class AttachmentCollection
|
|
|
: Collection`1<Attachment>, IList`1<Attachment>, ICollection`1<Attachment>, IEnumerable`1<Attachment>, IEnumerable, IList, ICollection, IReadOnlyList`1<Attachment>, IDisposable
|
|
|
protected virtual void ClearItems();
|
|
|
public virtual void Dispose();
|
|
|
protected virtual void InsertItem(Int32 index, Attachment item);
|
|
|
protected virtual void RemoveItem(Int32 index);
|
|
|
protected virtual void SetItem(Int32 index, Attachment item);
|
|
|
public sealed class LinkedResourceCollection
|
|
|
: Collection`1<LinkedResource>, IList`1<LinkedResource>, ICollection`1<LinkedResource>, IEnumerable`1<LinkedResource>, IEnumerable, IList, ICollection, IReadOnlyList`1<LinkedResource>, IDisposable
|
|
|
protected virtual void ClearItems();
|
|
|
public virtual void Dispose();
|
|
|
protected virtual void InsertItem(Int32 index, LinkedResource item);
|
|
|
protected virtual void RemoveItem(Int32 index);
|
|
|
protected virtual void SetItem(Int32 index, LinkedResource item);
|
|
|
public class MailAddressCollection
|
|
|
: Collection`1<MailAddress>, IList`1<MailAddress>, ICollection`1<MailAddress>, IEnumerable`1<MailAddress>, IEnumerable, IList, ICollection, IReadOnlyList`1<MailAddress>
|
|
|
public void Add(String addresses);
|
|
|
protected virtual void InsertItem(Int32 index, MailAddress item);
|
|
|
protected virtual void SetItem(Int32 index, MailAddress item);
|
|
|
public virtual String ToString();
|
|
|
public class MailMessage
|
|
|
: IDisposable
|
|
|
public AlternateViewCollection AlternateViews { get; }
|
|
|
public AttachmentCollection Attachments { get; }
|
|
|
public MailAddressCollection Bcc { get; }
|
|
|
public String Body { get; set; }
|
|
|
public Encoding BodyEncoding { get; set; }
|
|
|
public TransferEncoding BodyTransferEncoding { get; set; }
|
|
|
public MailAddressCollection CC { get; }
|
|
|
public DeliveryNotificationOptions DeliveryNotificationOptions { get; set; }
|
|
|
public MailAddress From { get; set; }
|
|
|
public NameValueCollection Headers { get; }
|
|
|
public Encoding HeadersEncoding { get; set; }
|
|
|
public Boolean IsBodyHtml { get; set; }
|
|
|
public MailPriority Priority { get; set; }
|
|
|
public MailAddress ReplyTo { get; set; }
|
|
|
public MailAddressCollection ReplyToList { get; }
|
|
|
public MailAddress Sender { get; set; }
|
|
|
public String Subject { get; set; }
|
|
|
public Encoding SubjectEncoding { get; set; }
|
|
|
public MailAddressCollection To { get; }
|
|
|
public virtual void Dispose();
|
|
|
protected virtual void Dispose(Boolean disposing);
|
|
|
public class SmtpClient
|
|
|
: IDisposable
|
|
|
public X509CertificateCollection ClientCertificates { get; }
|
|
|
public ICredentialsByHost Credentials { get; set; }
|
|
|
public SmtpDeliveryFormat DeliveryFormat { get; set; }
|
|
|
public SmtpDeliveryMethod DeliveryMethod { get; set; }
|
|
|
public Boolean EnableSsl { get; set; }
|
|
|
public String Host { get; set; }
|
|
|
public String PickupDirectoryLocation { get; set; }
|
|
|
public Int32 Port { get; set; }
|
|
|
public ServicePoint ServicePoint { get; }
|
|
|
public String TargetName { get; set; }
|
|
|
public Int32 Timeout { get; set; }
|
|
|
public Boolean UseDefaultCredentials { get; set; }
|
|
|
public event SendCompletedEventHandler SendCompleted;
|
|
|
public virtual void Dispose();
|
|
|
protected virtual void Dispose(Boolean disposing);
|
|
|
protected void OnSendCompleted(AsyncCompletedEventArgs e);
|
|
|
public void Send(String from, String recipients, String subject, String body);
|
|
|
public void Send(MailMessage message);
|
|
|
public void SendAsync(String from, String recipients, String subject, String body, Object userToken);
|
|
|
public void SendAsync(MailMessage message, Object userToken);
|
|
|
public void SendAsyncCancel();
|
|
|
public Task SendMailAsync(String from, String recipients, String subject, String body);
|
|
|
public Task SendMailAsync(MailMessage message);
|
|
|
public sealed class SmtpPermission
|
|
|
: CodeAccessPermission, IPermission, ISecurityEncodable, IStackWalk, IUnrestrictedPermission
|
|
|
public SmtpAccess Access { get; }
|
|
|
public void AddPermission(SmtpAccess access);
|
|
|
public virtual IPermission Copy();
|
|
|
public virtual void FromXml(SecurityElement securityElement);
|
|
|
public virtual IPermission Intersect(IPermission target);
|
|
|
public virtual Boolean IsSubsetOf(IPermission target);
|
|
|
public virtual Boolean IsUnrestricted();
|
|
|
public virtual SecurityElement ToXml();
|
|
|
public virtual IPermission Union(IPermission target);
|
|
|
public sealed enum SmtpStatusCode
|
|
|
: IComparable, IFormattable, IConvertible
|
|
|
{ SystemStatus, HelpMessage, ServiceReady, ServiceClosingTransmissionChannel, Ok, UserNotLocalWillForward, CannotVerifyUserWillAttemptDelivery, StartMailInput, ServiceNotAvailable, MailboxBusy, LocalErrorInProcessing, InsufficientStorage, ClientNotPermitted, CommandUnrecognized, SyntaxError, CommandNotImplemented, BadCommandSequence, MustIssueStartTlsFirst, CommandParameterNotImplemented, MailboxUnavailable, UserNotLocalTryAlternatePath, ExceededStorageAllocation, MailboxNameNotAllowed, TransactionFailed, GeneralFailure }
|