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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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