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.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
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