Create a new File attachment with a contentid from a FileInfo object. The contentid will be used to refer to this attachment in another mime part of the email.
[Visual Basic] Public Sub New( _ ByVal fileinfo As FileInfo, _ ByVal contentid As String _ ) [C#] public FileAttachment( FileInfo fileinfo, string contentid ); [C++] public: FileAttachment( FileInfo* fileinfo, String* contentid ); [JScript] public function FileAttachment( FileInfo fileinfo, String contentid );
FileAttachment Class | DotNetOpenMail Namespace | FileAttachment Constructor Overload List