Changing 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 change to no email notifications
- Navigate to <InstallationPath>/releases/4.3.01/<BRPM_Pacth>/WEB-INF/config, open the smtp_settings.rb file in a text editor, and delete the following line, if it exists:
config.action_mailer.delivery_method = :smtp - At the same file 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 change to SMTP email notifications
- Copy the smtp_settings.default.rb file to smtp_settings.rb in the <InstallationPath>/releases/4.3.01/<BRPM_Pacth>/WEB-INF/config folder.
- Navigate to <InstallationPath>/releases/4.3.01/<BRPM_Pacth>/WEB-INF/config, open the smtp_settings.rb file in a text editor, and add the following line under the line def configure_mail(config), if it does not already exist:
config.action_mailer.delivery_method = :smtp Open the smtp_settings.rb file in a text editor and 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 (remove the # character before the code line):
configure_mail_without_gmail(config) - Save and close the file.
- Restart the server.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*