-
Notifications
You must be signed in to change notification settings - Fork 0
ca8f1e35 75e9 4820 fb8c 3aec08af446b
Axel Kesseler edited this page Mar 1, 2023
·
4 revisions
Creates a new mail message instance.
Namespace: Plexdata.LogWriter.Facades
Assembly: Plexdata.LogWriter.Mail (in Plexdata.LogWriter.Mail.dll) Version: 1.0.7.1
C#
private MailMessage CreateMessage(
string address,
IEnumerable<string> receivers,
IEnumerable<string> clearCopies,
IEnumerable<string> blindCopies,
Encoding encoding,
string subject,
string content
)
- 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.
Type: MailMessage
The new mail message instance.
This method creates a new mail message instance from provided arguments.