MagicCMS Documentation

CMS_Config..::..SmtpServer Property

Gets or sets the SMTP server name.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public string SmtpServer { get; set; }

Field Value

The SMTP server name.

Remarks


SMTP server used by MagicCMS to send or resend passwords to user. Initial value is the value inserted in web.config. IMPORTANT! Is very important define SMTP server and password in web.config file. MagicCMS passwords are encrypted and, at the moment, the only way to receive the administrator password is to insert Admin email address, smtp server, smtp user name and smtp password in the web.config file.