WebMail.From Property
Gets or sets the email address of the sender.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public Shared Property From As String
Get
Set
'Usage
Dim value As String
value = WebMail.From
WebMail.From = value
public static string From { get; set; }
public:
static property String^ From {
String^ get ();
void set (String^ value);
}
static member From : string with get, set
static function get From () : String
static function set From (value : String)
Property Value
Type: System.String
The email address of the sender.
Remarks
This property is typically set one time in the _AppStart.cshtml file. The value of this the property can also be set as a parameter of the Send method.