log4net SDK Reference

SmtpAppender.SmtpHost Property

Gets or sets the name of the SMTP relay mail server to use to send the e-mail messages.

[Visual Basic]
Public Property SmtpHost As String
[C#]
public string SmtpHost {get; set;}

Property Value

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

SmtpAppender Class | log4net.Appender Namespace