Gemstone Common Library
Show/Hide TOC

# MailFrom Property

Gets or sets the e-mail address of the Mail message sender.

## Definition

Namespace: Gemstone.Net.Smtp
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
C#
View Source Request Example

    public string From { get; set; }

VB
View Source Request Example

    Public Property From As String
    	Get
    	Set

C++
View Source Request Example

    public:
    property String^ From {
    	String^ get ();
    	void set (String^ value);
    }

JavaScript
View Source Request Example

    function get_From();
    function set_From(value);

#### Property Value

String

## Exceptions

ArgumentNullException | Value being assigned is a null or empty string.

## See Also

#### Reference

Mail Class
Gemstone.Net.Smtp Namespace