Click or drag to resize

MimeDataSetFileName Method

Sets the FileName and ContentType value if requested.

Namespace:  Limilabs.Mail.MIME
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public void SetFileName(
	string fileName,
	bool guessContentType = false
)

Parameters

fileName
Type: SystemString
Suggested file name.
guessContentType (Optional)
Type: SystemBoolean
True if ContentType should be set based on the file name extension.

Return Value

Type: 
Newly added attachment.
See Also