RingDotNetfor Ring

System.Net.Mail

14 wrapped types. Load them with using { "System.Net.Mail" }. Click a class to open it.

AlternateView class · extends AttachmentBase

System.Net.Mail.AlternateView · assembly System.Net.Mail

Implements: IDisposable

Constructors

new AlternateView(string fileName)
new AlternateView(string fileName, string mediaType)
new AlternateView(string fileName, ContentType contentType)
new AlternateView(Stream contentStream)
new AlternateView(Stream contentStream, string mediaType)
new AlternateView(Stream contentStream, ContentType contentType)

Ring: new AlternateView(args) uses one constructor; the others are chosen by the parameter names: new AlternateView().@New([ :param = value ]) or dnNew("AlternateView",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
LinkedResourcesLinkedResourceCollectionreado.LinkedResources
BaseUriUriread, writeo.BaseUri o.BaseUri = v

Methods

MethodRing call.NET overloads
CreateAlternateViewFromStringCreateAlternateViewFromString(value)
CreateAlternateViewFromString([ :content = … ])
CreateAlternateViewFromString([ :content = …, :contentType = … ])
CreateAlternateViewFromString([ :content = …, :contentEncoding = …, :mediaType = … ])
static AlternateView CreateAlternateViewFromString(string content)
static AlternateView CreateAlternateViewFromString(string content, Encoding contentEncoding, string mediaType)
static AlternateView CreateAlternateViewFromString(string content, ContentType contentType)

Members of the base class are inherited.

AlternateViewCollection class sealed · extends Collection<AlternateView>

System.Net.Mail.AlternateViewCollection · assembly System.Net.Mail

Implements: IEnumerable, IList, ICollection, IDisposable

Properties and fields

NameTypeAccessIn Ring
Countintreado.getCount()

Indexer

o.Item(int index) → AlternateView · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])void Add(AlternateView item)
ClearcallMethod("Clear",[])void Clear()
ContainscallMethod("Contains",[p1])bool Contains(AlternateView item)
CopyToCopyTo(p1,p2)void CopyTo(AlternateView[] array, int index)
DisposecallMethod("Dispose",[])void Dispose()
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator<AlternateView> GetEnumerator()
IndexOfcallMethod("IndexOf",[p1])int IndexOf(AlternateView item)
InsertcallMethod("Insert",[p1,p2])void Insert(int index, AlternateView item)
RemovecallMethod("Remove",[p1])bool Remove(AlternateView item)
RemoveAtcallMethod("RemoveAt",[p1])void RemoveAt(int index)

Members of the base class are inherited.

Attachment class · extends AttachmentBase

System.Net.Mail.Attachment · assembly System.Net.Mail

Implements: IDisposable

Constructors

new Attachment(string fileName)
new Attachment(string fileName, string mediaType)
new Attachment(string fileName, ContentType contentType)
new Attachment(Stream contentStream, string name)
new Attachment(Stream contentStream, string name, string mediaType)
new Attachment(Stream contentStream, ContentType contentType)

Ring: new Attachment(args) uses one constructor; the others are chosen by the parameter names: new Attachment().@New([ :param = value ]) or dnNew("Attachment",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Namestringread, writeo.Name o.Name = v
NameEncodingEncodingread, writeo.NameEncoding o.NameEncoding = v
ContentDispositionContentDispositionreado.ContentDisposition

Methods

MethodRing call.NET overloads
CreateAttachmentFromStringCreateAttachmentFromString([ :content = …, :name = … ])
CreateAttachmentFromString([ :content = …, :contentType = … ])
CreateAttachmentFromString([ :content = …, :name = …, :contentEncoding = …, :mediaType = … ])
static Attachment CreateAttachmentFromString(string content, string name)
static Attachment CreateAttachmentFromString(string content, string name, Encoding contentEncoding, string mediaType)
static Attachment CreateAttachmentFromString(string content, ContentType contentType)

Members of the base class are inherited.

AttachmentBase class abstract

System.Net.Mail.AttachmentBase · assembly System.Net.Mail

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
ContentStreamStreamreado.ContentStream
ContentIdstringread, writeo.ContentId o.ContentId = v
ContentTypeContentTyperead, writeo.ContentType o.ContentType = v
TransferEncodingTransferEncodingread, writeo.TransferEncoding o.TransferEncoding = v

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
AttachmentCollection class sealed · extends Collection<Attachment>

System.Net.Mail.AttachmentCollection · assembly System.Net.Mail

Implements: IEnumerable, IList, ICollection, IDisposable

Properties and fields

NameTypeAccessIn Ring
Countintreado.getCount()

Indexer

o.Item(int index) → Attachment · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])void Add(Attachment item)
ClearcallMethod("Clear",[])void Clear()
ContainscallMethod("Contains",[p1])bool Contains(Attachment item)
CopyToCopyTo(p1,p2)void CopyTo(Attachment[] array, int index)
DisposecallMethod("Dispose",[])void Dispose()
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator<Attachment> GetEnumerator()
IndexOfcallMethod("IndexOf",[p1])int IndexOf(Attachment item)
InsertcallMethod("Insert",[p1,p2])void Insert(int index, Attachment item)
RemovecallMethod("Remove",[p1])bool Remove(Attachment item)
RemoveAtcallMethod("RemoveAt",[p1])void RemoveAt(int index)

Members of the base class are inherited.

LinkedResource class · extends AttachmentBase

System.Net.Mail.LinkedResource · assembly System.Net.Mail

Implements: IDisposable

Constructors

new LinkedResource(string fileName)
new LinkedResource(string fileName, string mediaType)
new LinkedResource(string fileName, ContentType contentType)
new LinkedResource(Stream contentStream)
new LinkedResource(Stream contentStream, string mediaType)
new LinkedResource(Stream contentStream, ContentType contentType)

Ring: new LinkedResource(args) uses one constructor; the others are chosen by the parameter names: new LinkedResource().@New([ :param = value ]) or dnNew("LinkedResource",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ContentLinkUriread, writeo.ContentLink o.ContentLink = v

Methods

MethodRing call.NET overloads
CreateLinkedResourceFromStringCreateLinkedResourceFromString(value)
CreateLinkedResourceFromString([ :content = … ])
CreateLinkedResourceFromString([ :content = …, :contentType = … ])
CreateLinkedResourceFromString([ :content = …, :contentEncoding = …, :mediaType = … ])
static LinkedResource CreateLinkedResourceFromString(string content)
static LinkedResource CreateLinkedResourceFromString(string content, Encoding contentEncoding, string mediaType)
static LinkedResource CreateLinkedResourceFromString(string content, ContentType contentType)

Members of the base class are inherited.

LinkedResourceCollection class sealed · extends Collection<LinkedResource>

System.Net.Mail.LinkedResourceCollection · assembly System.Net.Mail

Implements: IEnumerable, IList, ICollection, IDisposable

Properties and fields

NameTypeAccessIn Ring
Countintreado.getCount()

Indexer

o.Item(int index) → LinkedResource · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])void Add(LinkedResource item)
ClearcallMethod("Clear",[])void Clear()
ContainscallMethod("Contains",[p1])bool Contains(LinkedResource item)
CopyToCopyTo(p1,p2)void CopyTo(LinkedResource[] array, int index)
DisposecallMethod("Dispose",[])void Dispose()
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator<LinkedResource> GetEnumerator()
IndexOfcallMethod("IndexOf",[p1])int IndexOf(LinkedResource item)
InsertcallMethod("Insert",[p1,p2])void Insert(int index, LinkedResource item)
RemovecallMethod("Remove",[p1])bool Remove(LinkedResource item)
RemoveAtcallMethod("RemoveAt",[p1])void RemoveAt(int index)

Members of the base class are inherited.

MailAddress class

System.Net.Mail.MailAddress · assembly System.Net.Mail

Constructors

new MailAddress(string address)
new MailAddress(string address, string displayName)
new MailAddress(string address, string displayName, Encoding displayNameEncoding)

Ring: new MailAddress(args) uses one constructor; the others are chosen by the parameter names: new MailAddress().@New([ :param = value ]) or dnNew("MailAddress",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
DisplayNamestringreado.DisplayName
Userstringreado.User
Hoststringreado.Host
Addressstringreado.Address

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object value)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
TryCreateTryCreate([ :address = …, :result = … ])
TryCreate([ :address = …, :displayName = …, :result = … ])
TryCreate([ :address = …, :displayName = …, :displayNameEncoding = …, :result = … ])
static bool TryCreate(string address, out MailAddress result)
static bool TryCreate(string address, string displayName, out MailAddress result)
static bool TryCreate(string address, string displayName, Encoding displayNameEncoding, out MailAddress result)
MailAddressCollection class · extends Collection<MailAddress>

System.Net.Mail.MailAddressCollection · assembly System.Net.Mail

Implements: IEnumerable, IList, ICollection

Constructors

new MailAddressCollection()

Ring: new MailAddressCollection(args) uses one constructor; the others are chosen by the parameter names: new MailAddressCollection().@New([ :param = value ]) or dnNew("MailAddressCollection",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.getCount()

Indexer

o.Item(int index) → MailAddress · o.SetItem(index,value)

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[p1])void Add(string addresses)
void Add(MailAddress item)
ClearcallMethod("Clear",[])void Clear()
ContainscallMethod("Contains",[p1])bool Contains(MailAddress item)
CopyToCopyTo(p1,p2)void CopyTo(MailAddress[] array, int index)
GetEnumeratorcallMethod("GetEnumerator",[])IEnumerator<MailAddress> GetEnumerator()
IndexOfcallMethod("IndexOf",[p1])int IndexOf(MailAddress item)
InsertcallMethod("Insert",[p1,p2])void Insert(int index, MailAddress item)
RemovecallMethod("Remove",[p1])bool Remove(MailAddress item)
RemoveAtcallMethod("RemoveAt",[p1])void RemoveAt(int index)
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

MailMessage class

System.Net.Mail.MailMessage · assembly System.Net.Mail

Implements: IDisposable

Constructors

new MailMessage()
new MailMessage(string from, string to)
new MailMessage(string from, string to, string subject, string body)
new MailMessage(MailAddress from, MailAddress to)

Ring: new MailMessage(args) uses one constructor; the others are chosen by the parameter names: new MailMessage().@New([ :param = value ]) or dnNew("MailMessage",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
FromMailAddressread, writeo.From o.From = v
SenderMailAddressread, writeo.Sender o.Sender = v
ReplyToMailAddressread, writeo.ReplyTo o.ReplyTo = v
ReplyToListMailAddressCollectionreado.ReplyToList
ToMailAddressCollectionreado.To
BccMailAddressCollectionreado.Bcc
CCMailAddressCollectionreado.CC
PriorityMailPriorityread, writeo.Priority o.Priority = v
DeliveryNotificationOptionsDeliveryNotificationOptionsread, writeo.DeliveryNotificationOptions o.DeliveryNotificationOptions = v
Subjectstringread, writeo.Subject o.Subject = v
SubjectEncodingEncodingread, writeo.SubjectEncoding o.SubjectEncoding = v
HeadersNameValueCollectionreado.Headers
HeadersEncodingEncodingread, writeo.HeadersEncoding o.HeadersEncoding = v
Bodystringread, writeo.Body o.Body = v
BodyEncodingEncodingread, writeo.BodyEncoding o.BodyEncoding = v
BodyTransferEncodingTransferEncodingread, writeo.BodyTransferEncoding o.BodyTransferEncoding = v
IsBodyHtmlboolread, writeo.IsBodyHtml o.IsBodyHtml = v
AttachmentsAttachmentCollectionreado.Attachments
AlternateViewsAlternateViewCollectionreado.AlternateViews

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
SmtpClient class

System.Net.Mail.SmtpClient · assembly System.Net.Mail

Implements: IDisposable

Constructors

new SmtpClient()
new SmtpClient(string host)
new SmtpClient(string host, int port)

Ring: new SmtpClient(args) uses one constructor; the others are chosen by the parameter names: new SmtpClient().@New([ :param = value ]) or dnNew("SmtpClient",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Hoststringread, writeo.Host o.Host = v
Portintread, writeo.Port o.Port = v
UseDefaultCredentialsboolread, writeo.UseDefaultCredentials o.UseDefaultCredentials = v
CredentialsICredentialsByHostread, writeo.Credentials o.Credentials = v
Timeoutintread, writeo.Timeout o.Timeout = v
ServicePointServicePointreado.ServicePoint
DeliveryMethodSmtpDeliveryMethodread, writeo.DeliveryMethod o.DeliveryMethod = v
DeliveryFormatSmtpDeliveryFormatread, writeo.DeliveryFormat o.DeliveryFormat = v
PickupDirectoryLocationstringread, writeo.PickupDirectoryLocation o.PickupDirectoryLocation = v
EnableSslboolread, writeo.EnableSsl o.EnableSsl = v
ClientCertificatesX509CertificateCollectionreado.ClientCertificates
TargetNamestringread, writeo.TargetName o.TargetName = v

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
SendcallMethod("Send",[p1])
callMethod("Send",[p1,p2,p3,p4])
void Send(string from, string recipients, string subject, string body)
void Send(MailMessage message)
SendAsyncSendAsync([ :message = …, :userToken = … ])
SendAsync([ :from = …, :recipients = …, :subject = …, :body = …, :userToken = … ])
void SendAsync(string from, string recipients, string subject, string body, object userToken)
void SendAsync(MailMessage message, object userToken)
SendAsyncCancelcallMethod("SendAsyncCancel",[])void SendAsyncCancel()
SendMailAsyncSendMailAsync(value)
SendMailAsync([ :message = … ])
SendMailAsync([ :message = …, :cancellationToken = … ])
SendMailAsync([ :from = …, :recipients = …, :subject = …, :body = … ])
SendMailAsync([ :from = …, :recipients = …, :subject = …, :body = …, :cancellationToken = … ])
Task SendMailAsync(string from, string recipients, string subject, string body)
Task SendMailAsync(MailMessage message)
Task SendMailAsync(string from, string recipients, string subject, string body, CancellationToken cancellationToken)
Task SendMailAsync(MailMessage message, CancellationToken cancellationToken)

Events

EventHandler typeIn Ring
SendCompletedSendCompletedEventHandlero.setSendCompletedEvent(code) · o.clearSendCompletedEvent()
SmtpException class · extends Exception

System.Net.Mail.SmtpException · assembly System.Net.Mail

Implements: ISerializable

Constructors

new SmtpException(SmtpStatusCode statusCode)
new SmtpException(SmtpStatusCode statusCode, string message)
new SmtpException()
new SmtpException(string message)
new SmtpException(string message, Exception innerException)

Ring: new SmtpException(args) uses one constructor; the others are chosen by the parameter names: new SmtpException().@New([ :param = value ]) or dnNew("SmtpException",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
StatusCodeSmtpStatusCoderead, writeo.StatusCode o.StatusCode = v

Methods

MethodRing call.NET overloads
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)

Members of the base class are inherited.

SmtpFailedRecipientException class · extends SmtpException

System.Net.Mail.SmtpFailedRecipientException · assembly System.Net.Mail

Implements: ISerializable

Constructors

new SmtpFailedRecipientException()
new SmtpFailedRecipientException(string message)
new SmtpFailedRecipientException(string message, Exception innerException)
new SmtpFailedRecipientException(SmtpStatusCode statusCode, string failedRecipient)
new SmtpFailedRecipientException(SmtpStatusCode statusCode, string failedRecipient, string serverResponse)
new SmtpFailedRecipientException(string message, string failedRecipient, Exception innerException)

Ring: new SmtpFailedRecipientException(args) uses one constructor; the others are chosen by the parameter names: new SmtpFailedRecipientException().@New([ :param = value ]) or dnNew("SmtpFailedRecipientException",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
FailedRecipientstringreado.FailedRecipient

Methods

MethodRing call.NET overloads
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)

Members of the base class are inherited.

SmtpFailedRecipientsException class · extends SmtpFailedRecipientException

System.Net.Mail.SmtpFailedRecipientsException · assembly System.Net.Mail

Implements: ISerializable

Constructors

new SmtpFailedRecipientsException()
new SmtpFailedRecipientsException(string message)
new SmtpFailedRecipientsException(string message, Exception innerException)
new SmtpFailedRecipientsException(string message, SmtpFailedRecipientException[] innerExceptions)

Ring: new SmtpFailedRecipientsException(args) uses one constructor; the others are chosen by the parameter names: new SmtpFailedRecipientsException().@New([ :param = value ]) or dnNew("SmtpFailedRecipientsException",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
InnerExceptionsSmtpFailedRecipientException[]reado.InnerExceptions

Methods

MethodRing call.NET overloads
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)

Members of the base class are inherited.