Parses header field from the specified value.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static Mail_h_ReturnPath Parse( string value )
Public Shared Function Parse ( value As String ) As Mail_h_ReturnPath
public: static Mail_h_ReturnPath^ Parse( String^ value )
static member Parse : value : string -> Mail_h_ReturnPath
Parameters
- value (String)
- Header field value. Header field name must be included. For example: 'Return-Path: <jhon.doe@domain.com>'.
Return Value
Mail_h_ReturnPath
Returns parsed header field.
Returns parsed header field.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when value is null reference. |
ParseException | Is raised when header field parsing errors. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119