UtilMail Class

Contains e-mail (POP3/SMTP) related utilities.

Definition

Namespace: DevCase.Core.Networking.Mailing
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class UtilMail
Inheritance
Object    UtilMail

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
MailTo(MailMessage) Runs the default mail client to send an email with the specified parameters.
MailTo(MailAddress, String, String) Runs the default mail client to send an email with the specified parameters.
MailTo(MailAddressCollection, String, String) Runs the default mail client to send an email with the specified parameters.
MailTo(String, String, String) Runs the default mail client to send an email with the specified parameters.
MailTo(String, String, String) Runs the default mail client to send an email with the specified parameters.
SendMailAsync Asynchronously sends a mail through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, MailAddress) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, MailAddressCollection) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, String) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, String) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, MailAddress, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, MailAddress, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, MailAddressCollection, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, MailAddressCollection, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, String, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, NetworkCredential, String, String, String, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, MailAddress) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, MailAddressCollection) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, String) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, String) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, MailAddress, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, MailAddress, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, MailAddressCollection, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, MailAddressCollection, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, String, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, String, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, String, ICollectionAttachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtml(SmtpClient, String, String, String, String, String, Attachment) Sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, MailAddress) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, MailAddressCollection) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, String) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, String) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, MailAddress, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, MailAddress, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, MailAddressCollection, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, MailAddressCollection, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, String, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, NetworkCredential, String, String, String, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, MailAddress) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, MailAddressCollection) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, String) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, String) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, MailAddress, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, MailAddress, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, MailAddressCollection, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, MailAddressCollection, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, String, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailHtmlAsync(SmtpClient, String, String, String, String, String, Attachment) Asynchronously sends a mail with a HTML body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, MailAddress) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, MailAddressCollection) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, String) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, String) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, MailAddress, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, MailAddress, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, MailAddressCollection, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, MailAddressCollection, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, String, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, NetworkCredential, String, String, String, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, MailAddress) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, MailAddressCollection) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, String) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, String) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, MailAddress, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, MailAddress, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, MailAddressCollection, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, MailAddressCollection, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, String, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, String, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, String, ICollectionAttachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailText(SmtpClient, String, String, String, String, String, Attachment) Sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, MailAddress) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, MailAddressCollection) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, String) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, String) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, MailAddress, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, MailAddress, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, MailAddressCollection, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, MailAddressCollection, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, String, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, NetworkCredential, String, String, String, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, MailAddress) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, MailAddressCollection) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, String) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, String) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, MailAddress, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, MailAddress, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, MailAddressCollection, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, MailAddressCollection, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, String, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, String, ICollectionAttachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
SendMailTextAsync(SmtpClient, String, String, String, String, String, Attachment) Asynchronously sends a mail with a plain text body through the specified SMTP server.
ToString Returns a string that represents the current object.
(Inherited from Object)
ValidateMail(MailAddress) Validates a mail address.
ValidateMail(String) Validates a mail address.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also