Assembly: System.Design (in system.design.dll)
The MailDefinitionBodyFileNameEditor class provides a user interface for selecting a file for the BodyFileName property of a MailDefinition object. The BodyFileName specifies the file that contains the e-mail message body.
The MailDefinition objects define the content and format of the e-mail notification messages that are sent by controls. For example, the CreateUserWizard, ChangePassword and PasswordRecovery controls use the MailDefinitionBodyFileNameEditor.
The MailDefinitionBodyFileNameEditor is invoked, for example, by selecting the ellipsis (…) button on the BodyFileName property, under MailDefinition, in the Properties grid of the visual designer.
The Caption property specifies the caption that is to appear on the MailDefinitionBodyFileNameEditor form. The Filter property returns the list of file types that is to be accepted by the MailDefinitionBodyFileNameEditor.