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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
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