Smtp ClientLocal Domain Property
Get or set the local domain.
Definition
Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The local domain.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public string? LocalDomain { get; set; }Property Value
StringThe local domain.
Implements
ISmtpClientLocalDomainRemarks
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.