共用方式為


FsrmSettingClass.SmtpServer Property

 

Retrieves or sets the SMTP server that FSRM uses to send email.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

public virtual string SmtpServer { get; set; }
public:
property String^ SmtpServer {
    virtual String^ get();
    virtual void set(String^ value);
}
abstract SmtpServer : string with get, set
override SmtpServer : string with get, set
Public Overridable Property SmtpServer As String

Property Value

Type: System.String

Returns a String containing the name or IP address of the SMTP server that FSRM uses to send email. The name is limited to 4,000 characters.

Implements

IFsrmSetting.SmtpServer

Remarks

This property must be set in order for FSRM to send email. To verify settings, call the IFsrmSetting.EmailTest method.

See Also

FsrmSetting
IFsrmSetting
FsrmSettingClass Class
Microsoft.Storage Namespace

Return to top