Skip to content

ca8f1e35 75e9 4820 fb8c 3aec08af446b

Axel Kesseler edited this page Mar 1, 2023 · 4 revisions

MailLoggerFacade.CreateMessage Method

Creates a new mail message instance.

Namespace: Plexdata.LogWriter.Facades
Assembly: Plexdata.LogWriter.Mail (in Plexdata.LogWriter.Mail.dll) Version: 1.0.7.1

Syntax

C#

private MailMessage CreateMessage(
	string address,
	IEnumerable<string> receivers,
	IEnumerable<string> clearCopies,
	IEnumerable<string> blindCopies,
	Encoding encoding,
	string subject,
	string content
)

Parameters

 

address
Type: System.String
The sender address (From).
receivers
Type: System.Collections.Generic.IEnumerable(String)
The mail receiver address list (To).
clearCopies
Type: System.Collections.Generic.IEnumerable(String)
The mail copy receiver address list (CC).
blindCopies
Type: System.Collections.Generic.IEnumerable(String)
The mail blind copy receiver address list (BCC).
encoding
Type: System.Text.Encoding
The mail encoding, which is used for subject as well as for content.
subject
Type: System.String
The mail subject.
content
Type: System.String
The mail content.

Return Value

Type: MailMessage
The new mail message instance.

Remarks

This method creates a new mail message instance from provided arguments.

See Also

Reference

MailLoggerFacade Class
Plexdata.LogWriter.Facades Namespace

Clone this wiki locally