SmtpMail.RemoveAttachment Method

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

[Visual Basic]
Public Sub RemoveAttachment( _
    fileName As String _
public void RemoveAttachment(
    string fileName
public: void RemoveAttachment(
    String^ fileName
public function RemoveAttachment( 
    fileName : String


A file name to remove.

See Also

SmtpMail.AddAttachment Method
SmtpMail.AddAttachmentAsync Method
SmtpMail.ImportHtmlBodyAsync Method
SmtpMail.ImportHtmlAsync Method