How to configure SMTP settings
- 100%
- 6.0
- Enterprise
- Community
Planned
Overview
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.
Steps
Open your site's Web.config file and look for the following keys in appSettings section:
| Key | Required/Optional | Description |
|---|---|---|
| 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.
Features
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:
Notifications
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="sendername@example.com" />Forms
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'
field:
<add key="DefaultEmailSender" value="sendername@example.com" />Related links
There are no related links to this article.
References
There are no external references to this article.