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:
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.
Note
To change the email notification settings, you must edit the smtp_settings.rb file or smtp_settings.default.rb file.
The actual BMC Release Process Management email notification settings are saved in the smtp_settings.rb file.
The smtp_settings.default.rb file is a template and it is used only when there is no smtp_settings.rb file.
Both files are located in RLMhome/releases/productVersion/RPM/portal.war/WEB-INF/config 5.0.03.004 OR LATER or RLMhome/releases/productVersion/RPM/config 5.0.03.003 OR EARLIER.
It is not recommended to make any changes to the smtp_settings.default.rb file. If you want to make changes to the smtp_settings.default.rb file, make a copy of it with the name smtp_settings.rb, and then save your changes to the smtp_settings.rb file.
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)
Restart the server.
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)
Warning
All parameters and their values are case-sensitive.
configure_mail_without_gmail(config)
To receive a correct link to RPM 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 => 8443
and then edit the host
, protocol
, and port
values.