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.AddAttachmentAsync Method
SmtpMail.ImportHtmlBodyAsync Method
SmtpMail.ImportHtmlAsync Method