Initializes a new instance of a Attachment with the content of the specified file.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll) Version: 1.0.3844.0

Syntax

C#
public Attachment(
	string fileName
)
Visual Basic (Declaration)
Public Sub New ( _
	fileName As String _
)
Visual C++
public:
Attachment(
	String^ fileName
)

Parameters

fileName
Type: System..::.String
Path to the file to provide data for the attachment.

See Also