Share via


EmailTraceListenerNode.SmtpServer Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the SMTP server to send messages through.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design.TraceListeners
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design.dll)

Syntax

'Declaration
<RequiredAttribute> _
PublicPropertySmtpServerAs String
[RequiredAttribute]
public string SmtpServer { get; set; }
[RequiredAttribute]
public:
property String^ SmtpServer {
    String^ get ();
    voidset (String^ value);
}
publicfunction getSmtpServer () : String
publicfunction setSmtpServer (value : String)

Field Value

The SMTP server to send messages through.

See Also

EmailTraceListenerNode Class

Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.Design.TraceListeners Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.