LumiSoft Mail Server User API
CreateSimple Method (from, to, subject, bodyText, bodyHtml, attachmentFileNames)
Namespaces > LumiSoft.Net.Mime > Mime > CreateSimple(AddressList, AddressList, String, String, String, String[]())
Creates simple mime message with attachments.
Syntax
C#Visual BasicManaged C++
public static Mime CreateSimple (
	AddressList from,
	AddressList to,
	string subject,
	string bodyText,
	string bodyHtml,
	string[] attachmentFileNames
)
Public Shared Function CreateSimple ( _
	from As AddressList, _
	to As AddressList, _
	subject As String, _
	bodyText As String, _
	bodyHtml As String, _
	attachmentFileNames As String() _
) As Mime
public:
static Mime^ CreateSimple (
	AddressList^ from, 
	AddressList^ to, 
	String^ subject, 
	String^ bodyText, 
	String^ bodyHtml, 
	array<String^>^ attachmentFileNames
)
Parameters
from (AddressList)
Header field From: value.
to (AddressList)
Header field To: value.
subject (String)
Header field Subject: value.
bodyText (String)
Body text of message. NOTE: Pass null is body text isn't wanted.
bodyHtml (String)
Body HTML text of message. NOTE: Pass null is body HTML text isn't wanted.
attachmentFileNames (String[]())
Attachment file names. Pass null if no attachments. NOTE: File name must contain full path to file, for example: c:\test.pdf.
Return Value

[Missing <returns> documentation for M:LumiSoft.Net.Mime.Mime.CreateSimple(LumiSoft.Net.Mime.AddressList,LumiSoft.Net.Mime.AddressList,System.String,System.String,System.String,System.String[])]

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)