SmtpAppenderSmtpHost Property Apache log4net™ SDK Documentation
Gets or sets the name of the SMTP relay mail server to use to send the e-mail messages.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public string SmtpHost { get; set; }

Property Value

Type: String
The name of the e-mail relay server. If SmtpServer is not set, the name of the local SMTP server is used.
Remarks

The name of the e-mail relay server. If SmtpServer is not set, the name of the local SMTP server is used.

See Also

Reference