Changing the email notification configuration manually
During installation, you can choose to have no email notifications or use Simple Mail Transfer Protocol (SMTP) notifications (as shown in the following figure) by selecting one of the following options at the time of installation:
- No Email Notifications: Turns off email notifications
- Use SMTP: Sends SMTP email to an SMTP account as specified
Email notification information
(click the image to expand it)
You can also change the notification configuration later manually by using the following procedures, if necessary.
To deactivate sending email notifications
- Go to RLMhome/releases/productVersion/RPM/portal.war/WEB-INF/config, and open the smtp_settings.rb file in a text editor, and delete the following line, if it exists:
config.action_mailer.delivery_method = :smtp Comment out the configure_mail_with_gmail(config) and configure_mail_without_gmail(config) lines by putting the # symbol at the beginning of the line, as in the following example:
#configure_mail_with_gmail(config)
#configure_mail_without_gmail(config)- Save and close the file.
- Restart the server.
To activate sending email notifications
- Copy the smtp_settings.default.rb file to smtp_settings.rb in the RLMhome/releases/productVersion/RPM/portal.war/WEB-INF/config directory.
- Open the smtp_settings.rb file in a text editor, and then under the def configure_mail(config) line, add the following line if it does not already exist:
config.action_mailer.delivery_method = :smtp Update the parameters in the configure_mail_without_gmail method:
:address => <SMTP_SERVER>,
:port => <SMTP_PORT>,
:domain => <SMTP_DOMAIN>Based on your SMTP server configuration, you might need to append additional parameters for SMTP settings:
:authentication => <SMTP_AUTH>, #(Options are - none, plain, login, cram_md5)
:user_name => <SMTP_USER>,
:password => <SMTP_PASSWORD>,
:enable_starttls_auto => <SMTP_TLS> #(Options are - true, false)- Uncomment the following line by deleting the # symbol before the line:
configure_mail_without_gmail(config) To receive a correct link to BRPM in the email notifications, replace the # config.action_mailer.default_url_options = { :host => 'example.com' } line with the following:
config.action_mailer.default_url_options = {
:host => 'example.com',
:protocol => 'https',
:port => 8443and then edit the host, protocol, and port values.
- Save and close the file.
- Restart the server.
Related topic