UtilMailSendMailHtml(SmtpClient, NetworkCredential, String, String, MailAddressCollection) Method

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 void SendMailHtml(
	SmtpClient smtpClient,
	NetworkCredential credential,
	string subject,
	string body,
	MailAddressCollection addresses
)

Parameters

smtpClient  SmtpClient

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

credential  NetworkCredential
The credential containing the username and password for the mail account.
subject  String
The mail subject.
body  String
The mail body.
addresses  MailAddressCollection
The target addresses that will receive our sent mail.

Example

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

See Also