This documentation is archived and is not being maintained.

MailMessage.Headers Property

Specifies the custom headers that are transmitted with the e-mail message.

[Visual Basic]
Public ReadOnly Property Headers As IDictionary
[C#]
public IDictionary Headers {get;}
[C++]
public: __property IDictionary* get_Headers();
[JScript]
public function get Headers() : IDictionary;

Property Value

An IDictionary collection of custom headers.

Requirements

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

See Also

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

Show: