Creates simple mime message with attachments.
| C# | Visual Basic | Managed 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 )
- 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.
[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)