Email Notifications
This article describes how you can use MSP360 (CloudBerry) Backup CLI to customize email notification settings.
Use the notificationSettings command to customize the email notification settings of your MSP360 (CloudBerry) Backup application:
C:\Program Files\CloudBerryLab\CloudBerry Backup>cbb notificationSettings -?
Specifying the Recipient Email Address
You need to specify the following parameter to be able to execute the notificationSettings command.
-email
Specifies the email address to which the backup service should send notifications. For example:cbb notificationSettings -email "e@mail.com"
Specifying the Recipient Name
Optionally, you can indicate the recipient name by specifying the following parameter.
-userName
Specifies the recipient name for backup service emails. For example:cbb notificationSettings -userName "Joshua H. Simmons"
Specifying SMTP Settings
You can specify the following parameters to send the service emails via a custom SMTP server instead of using the MSP360 (CloudBerry) Backup notification service.
- -useSmtp Indicates whether or not to use a custom SMTP server for email notifications.
- -server Specifies the SMTP server address.
- -port Specifies the port number assigned to your SMTP server.
- -emailFrom Specifies the sender email address.
- -useSsl Indicates whether or not to use the Secure Sockets Layer (SSL) protocol for delivery of service emails.
- -smtpAuth Indicates whether or not your SMTP server requires authentication.
- -smtpUser Specifies the user name required for an SMTP server authentication.
- -smtpPassword Specifies the password required for an SMTP server authentication.
The following example illustrates how to specify a custom SMTP server for delivery of service emails:
cbb notificationSettings -email "e@mail.com" -useSmtp yes -server "localhost" -port "25" -emailFrom "sender@email.com" -useSsl yes -smtpAuth yes -smtpUser "userName" -smtpPassword "password"