SmtpMail.RemoveAttachment Method


Removes file attachment from the e-mail message by file name.

[Visual Basic]
Public Sub RemoveAttachment( _
    fileName As String _
)
[C#]
public void RemoveAttachment(
    string fileName
);
[C++]
public: void RemoveAttachment(
    String* fileName
);
[JScript]
public function RemoveAttachment( 
    fileName : String
);

Parameters

fileName
A file name to remove.

See Also

SmtpMail.AddAttachment Method
SmtpMail.ImportHtmlBody Method
SmtpMail.ImportHtml Method