Gets or sets host from where message was received.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public string From { get; set; }
Public Property From As String Get Set
public: property String^ From { String^ get (); void set (String^ value); }
member From : string with get, set
Property Value
Remarks
Normally this is just EHLO/HELO host name what client reported to SMTP server.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when null reference passed. |
ArgumentException | Is raised when invalid value passed. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119