Creates simple mime message with attachments.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
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 )
static member CreateSimple : from : AddressList * to : AddressList * subject : string * bodyText : string * bodyHtml : string * attachmentFileNames : string[] -> Mime
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 (array<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
Mime
[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 (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119