Gets or sets host name which is reported to SMTP server. If value null, then local computer name is used.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public string LocalHostName { get; set; }
Public Property LocalHostName As String Get Set
public: property String^ LocalHostName { String^ get (); void set (String^ value); }
member LocalHostName : string with get, set
Property Value
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this property is accessed. |
InvalidOperationException | Is raised when this property is accessed and SMTP client is connected. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119