How to configure SMTP settings
In Sense/Net there are several portlets and controls which send e-mail according to specific events (eg.: registration, notification, and so on...). Before you start using these features you need to configure your SMTP settings so that the emails will be delivered successfully.
Open your site's Web.config file and look for the following keys in appSettings section:
|SMTP||This is the address of the SMTP server|
|SMTPUser||User name for authentication|
|SMTPPassword||Password for authentication|
|SMTPDomain||Domain of SMTP server|
|DefaultEmailSender||The default email address of the sender|
Optional settings, if not used, should be commented out in the configuration file.
There are a few built-in features that use email settings. The following sections outline the different configurational details that affect how these features operate:
Sense/Net comes with built-in Notification fetaures. To set the sender of notification emails (ie when you click Manage Nofications action) set the NotificationSenderAddress in web.config:
<add key="NotificationSenderAddress" value="email@example.com" />
The sender of the email on the demo 'Contact us' form (http://localhost/features/form or in repository /Root/Sites/Default_Site/features/form/Contact) depends on where the message will be sent:
- on the form itself (if you edit it in Content Explorer) you can fill out the 'Email From' field. This will be the email from value in the email that is sent to the user who filled out the form.
- in the web.config set the DefaultEmailSender key, this will be the email from value in the email that is sent to the emails listed on the form in the 'Email List'
<add key="DefaultEmailSender" value="firstname.lastname@example.org" />
There are no related links to this article.
There are no external references to this article.