MailBee.NET Objects 3.1

MailMessage.Dispose Method 

Removes the temporary folders and files that are associated with the mail message.

public void Dispose();

Implements

IDisposable.Dispose

Remarks

If the CreateAndDelete option was turned on when the GetHtmlAndSaveRelatedFiles method was used, all temporary folders and files associated with the mail message will automatically be removed when Dispose method gets called. Otherwise, nothing will happen.

See Also

MailMessage Class | MailBee.Mime Namespace