This documentation is archived and is not being maintained.

MailMessage.Body Property

Gets or sets the body of the e-mail message.

[Visual Basic]
Public Property Body As String
[C#]
public string Body {get; set;}
[C++]
public: __property String* get_Body();
public: __property void set_Body(String*);
[JScript]
public function get Body() : String;
public function set Body(String);

Property Value

The body of the e-mail message.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

MailMessage Class | MailMessage Members | System.Web.Mail Namespace

Show: