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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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