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.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.