LumiSoft Net Help
Create Method (from, to, cc, bcc, subject, text, html, attachments)
Namespaces ► LumiSoft.Net.Mail ► Mail_Message ► Create(Mail_t_Mailbox, array<Mail_t_Address>[]()[][], array<Mail_t_Address>[]()[][], array<Mail_t_Address>[]()[][], String, String, String, array<Mail_t_Attachment>[]()[][])
Creates mail message.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public static Mail_Message Create(
    	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 (
    	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(
    	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 :
            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

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.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119