Click or drag to resize
MimeKit

SmtpClientLocalDomain Property

Get or set the local domain.

Namespace:  MailKit.Net.Smtp
Assembly:  MailKit (in MailKit.dll) Version: 2.5.0
Syntax
C#
public string LocalDomain { get; set; }

Property Value

Type: String
The local domain.

Implements

ISmtpClientLocalDomain
Remarks
The local domain is used in the HELO or EHLO commands sent to the SMTP server. If left unset, the local IP address will be used instead.
See Also