Skip to main content
SnapManager Oracle

Configuring a mail server for a repository

Contributors NetAppZacharyWambold

SnapManager enables you to specify the mail server details from which the email alerts are sent.

SnapManager enables you to specify the sender's email server host name or IP address, and the email server port number for a repository database name that requires email notification. You can configure the mail server port number in a range from 0 through 65535; the default value is 25. If you require authentication for the email address, you can specify the user name and password.

You must specify name or IP address of the host server that handles the email notification.

  1. To configure the mail server to send email alerts, enter the following command: smo notification set -sender-emailemail_address-mailhostmailhost-mailportmailport [-authentication-usernameusername-passwordpassword] -repository-portrepo_port-dbnamerepo_service_name-hostrepo_host-login-usernamerepo_username

    Other options for this command are as follows:

    [-force]

    To do the following…​

    Then…​

    To specify the sender's email address.

    Specify the -sender-email option. From SnapManager 3.2 for Oracle, you can include hyphen (-) while specifying the domain name of the email address. For example, you can specify the sender email address as -sender-emailuser@org-corp.com.

    To specify the sender's email server host name or IP address.

    Specify the -mailhost option.

    To specify the email server port number for a repository database name that requires email notification. You can configure the mail server port number in a range from zero through 65535; the default value is 25.

    Specify the -mailport option.

    Specify the user name and password if you require authentication for the email address.

    Specify -authentication option followed by the user name and password.

The following example configures the mail server.

smo notification set -sender-email admin1@org.com -mailhost hostname.org.com -mailport 25 authentication -username admin1 -password admin1 -repository -port 1521 -dbname SMOREPO -host hotspur -login -username grabal21 -verbose