Creates mail message.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static Mail_Message Create_MultipartSigned( X509Certificate2 signerCert, Mail_t_Mailbox from, Mail_t_Address[] to, Mail_t_Address[] cc, Mail_t_Address[] bcc, string subject, string text, string html, Mail_t_Attachment[] attachments )
Public Shared Function Create_MultipartSigned ( signerCert As X509Certificate2, from As Mail_t_Mailbox, to As Mail_t_Address(), cc As Mail_t_Address(), bcc As Mail_t_Address(), subject As String, text As String, html As String, attachments As Mail_t_Attachment() ) As Mail_Message
public: static Mail_Message^ Create_MultipartSigned( X509Certificate2^ signerCert, Mail_t_Mailbox^ from, array<Mail_t_Address^>^ to, array<Mail_t_Address^>^ cc, array<Mail_t_Address^>^ bcc, String^ subject, String^ text, String^ html, array<Mail_t_Attachment^>^ attachments )
static member Create_MultipartSigned : signerCert : X509Certificate2 * from : Mail_t_Mailbox * to : Mail_t_Address[] * cc : Mail_t_Address[] * bcc : Mail_t_Address[] * subject : string * text : string * html : string * attachments : Mail_t_Attachment[] -> Mail_Message
Parameters
- signerCert (X509Certificate2)
- Signer certificate,
- from (Mail_t_Mailbox)
- From: address.
- to (array<Mail_t_Address>[]()[][])
- To: address.
- cc (array<Mail_t_Address>[]()[][])
- Cc: address. Value null means not used.
- bcc (array<Mail_t_Address>[]()[][])
- bcc: address. Value null means not used.
- subject (String)
- Message subject.
- text (String)
- Message body text.
- html (String)
- Message HTML text. Value null means not used.
- attachments (array<Mail_t_Attachment>[]()[][])
- Message attachments. Value null means not used.
Return Value
Mail_Message
Returns created mail message.
Returns created mail message.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when signerCert is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119