Configure SMTP Settings- Sample Code

# configure_os_monitoring

[ OS Monitoring Control Panel ]

===============================

(1) Recipient Settings

(2) SMTP Settings

(3) SNMP Settings

(4) Threshold Settings

To change the settings, enter the item number to change.

To quit, enter q: 2

/ --> [ SMTP Settings ]

=======================

(1) Server Name Not Defined

(2) Server Port 25

(3) User Name Not Defined

(4) User Password Not Defined

(5) Sender Email [email protected]

(6) Mail Sending Interval 60 minutes

To change the settings, enter the item number to change.

To quit, enter q. To return to the previous menu enter r: 1

To change SMTP server, enter the server name.

To quit, enter q. To return to the previous menu, enter r.

To delete SMTP server name, press ENTER.

Server Name > smtp.yourdomain.com

/ --> [ SMTP Settings ]

=======================

(1) Server Name smtp.yourdomain.com

(2) Server Port 25

(3) User Name Not Defined

(4) User Password Not Defined

(5) Sender Email [email protected]

(6) Mail Sending Interval 60 minutes

To change the settings, enter the item number to change.

To quit, enter q. To return to the previous menu enter r: 3

To change SMTP server user, enter the user name.

To quit, enter q. To return to the previous menu, enter r.

To delete SMTP server user, press ENTER.

User Name > [email protected]

/ --> [ SMTP Settings ]

=======================

(1) Server Name smtp.yourdomain.com

(2) Server Port 25

(3) User Name [email protected]

(4) User Password Not Defined

(5) Sender Email [email protected]

(6) Mail Sending Interval 60 minutes

To change the settings, enter the item number to change.

To quit, enter q. To return to the previous menu enter r: 5

To change sender email, enter the email address.

To quit, enter q. To return to the previous menu, enter r.

To delete SMTP sender email, press ENTER.

Sender Email > [email protected]

/ --> [ SMTP Settings ]

=======================

(1) Server Name smtp.yourdomain.com

(2) Server Port 25

(3) User Name [email protected]

(4) User Password Not Defined

(5) Sender Email [email protected]

(6) Mail Sending Interval 60 minutes

To change the settings, enter the item number to change.

To quit, enter q. To return to the previous menu enter r: q

#