UtilMailSendMailHtmlAsync(SmtpClient, String, String, String, String, MailAddress) Method

Asynchronously sends a mail with a HTML body through the specified SMTP server.

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 static Task SendMailHtmlAsync(
	SmtpClient smtpClient,
	string username,
	string password,
	string subject,
	string body,
	MailAddress address
)

Parameters

smtpClient  SmtpClient

[Missing <param name="smtpClient"/> documentation for "M:DevCase.Core.Networking.Mailing.UtilMail.SendMailHtmlAsync(System.Net.Mail.SmtpClient,System.String,System.String,System.String,System.String,System.Net.Mail.MailAddress)"]

username  String
The mail account username.
password  String
The mail account password.
subject  String
The mail subject.
body  String
The mail body.
address  MailAddress
The target address that will receive our sent mail.

Return Value

Task

[Missing <returns> documentation for "M:DevCase.Core.Networking.Mailing.UtilMail.SendMailHtmlAsync(System.Net.Mail.SmtpClient,System.String,System.String,System.String,System.String,System.Net.Mail.MailAddress)"]

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also