LumiSoft Net Help
CreateEntity_Attachment Method (attachmentName, fileName)
NamespacesLumiSoft.Net.MIMEMIME_EntityCreateEntity_Attachment(String, String)
Creates attachment(application/octet-stream) entity.
Declaration Syntax
C#Visual BasicVisual C++F#
public static MIME_Entity CreateEntity_Attachment(
	string attachmentName,
	string fileName
)
Public Shared Function CreateEntity_Attachment ( 
	attachmentName As String,
	fileName As String
) As MIME_Entity
public:
static MIME_Entity^ CreateEntity_Attachment(
	String^ attachmentName, 
	String^ fileName
)
static member CreateEntity_Attachment : 
        attachmentName : string * 
        fileName : string -> MIME_Entity 
Parameters
attachmentName (String)
Attachment file name what appears in mail message. Value null means argument 'fileName' file name is used.
fileName (String)
File name with path.
Return Value
MIME_Entity
Returns created entity.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when fileName is null reference.

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