Manage global email settings
Subcommands
edit
Edit global email settings
show
Show global email settings
clear
Clear global email settings
edit
dbvcli email-settings edit [--OPTIONS]
Edit global email settings
Option | Type | Description |
---|
--smtp-host
| string | host name of SMTP server |
--smtp-port
| string | port number of SMTP server |
--encryption
| string | type of connection to use to SMTP server; plain, starttls or tls |
--username
| string | username to use to authenticate to SMTP server |
--password
| string | password to use to authenticate to SMTP server |
--allow-selfsigned-certs
| Y or N | allow self-signed or otherwise invalid server certificates |
--from-email
| string | from email address for outgoing emails |
Example
[oracle@dbvel71 bin]$ ./dbvcli email-settings edit
Connecting to the Control Center at dbvel72.oraclekiwi.co.nz:4433 ✓
SMTP Host smtp.gmail.com
SMTP Port 465
Encryption TLS/SSL
Username vijay.sivaprakasam@dbvisit.com
Password ***
Allow Self-Signed Certificates Yes
From Email dbv_alerts@dbvisit.com
Save Changes
Select whether to save the entered settings or to cancel without saving.
Save Changes:
(•) Save
( ) Cancel
Global email settings successfully saved
show
dbvcli email-settings show [--OPTIONS]
Show global email settings
Example
[oracle@dbvel71 bin]$ ./dbvcli email-settings show
Connecting to the Control Center at dbvel72.oraclekiwi.co.nz:4433 ✓
SMTP Host smtp.gmail.com
SMTP Port 465
Encryption StartTLS
Username vijay.sivaprakasam@dbvisit.com
Password ***
Allow Self-Signed Certificates No
From Email vijay@dbvisit.com
clear
dbvcli email-settings clear [--OPTIONS]
Clear global email settings
Example
[oracle@dbvel71 bin]$ ./dbvcli email-settings clear
Connecting to the Control Center at dbvel72.oraclekiwi.co.nz:4433 ✓
SMTP Host smtp.gmail.com
SMTP Port 465
Encryption TLS/SSL
Username vijay.sivaprakasam@dbvisit.com
Password ***
Allow Self-Signed Certificates Yes
From Email dbv_alerts@dbvisit.com
Confirmation
Select Yes to proceed with clearing the global email settings, or No to cancel
the operation.
Confirm Clear:
(•) Yes
( ) No
Global email settings successfully saved
[oracle@dbvel71 bin]$ ./dbvcli email-settings show
Connecting to the Control Center at dbvel72.oraclekiwi.co.nz:4433 ✓
SMTP Host
SMTP Port
Encryption No encryption
Username
Password ***
Allow Self-Signed Certificates Yes
From Email
Comments