cancel
Showing results for 
Search instead for 
Did you mean: 

Email notification from XMC are not working

Email notification from XMC are not working

Grzegorz_Niemi1
New Contributor II
Dear All,

1323afd52c694d27b96ba2b695439a5c_RackMultipart20180810-68496-15t1xme-Email_inline.png



I have created Script and configured SNTP in XMC and I wish to send an email to admin after script is done (or when it starts, whatever).

The problem is that there is no email. I’m running this task buy clicking “Run”. Script is done, it works fine, but there is no email.



I’m using GMAIL as sending email. I have turned on support for less secure applications in gmail account.



1323afd52c694d27b96ba2b695439a5c_RackMultipart20180810-115993-ep9i40-Email_3_inline.png


4 REPLIES 4

StephanH
Valued Contributor III
Hello here is a suiteable KB article: https://gtacknowledge.extremenetworks.com/pkb_mobile#/articles/en_US/How_To/How-to-setup-NetSight-to-use-Gmail
Regards Stephan

Grzegorz_Niemi1
New Contributor II
Thank you for the help. I have found an error massage when tested email through console.

The problem lied in configuration.

This is what I have done to make it work:

1. Edit the file NetSight_Install_Directory/NetSight/appdata/NSJBoss.properties on the NetSight server:



2a. If SSL Authentication to GMAIL is desired, add the following lines to the end of the file:
mail.smtp.port=465
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false

mail.smtp.starttls.enable=true

StephanH
Valued Contributor III

6bef40d13531458896e1431c7cd50746_RackMultipart20180813-76304-banvu0-EmailAlert_inline.jpg


Regards Stephan

StephanH
Valued Contributor III
Hello Grzegorz,

there is an email test option in the java legacy tool Netsight console. You will find the option in the "Alarms Manager" in the "Action Tab" if you select an Alarm.

Unfortunately there is no test option in the XMC I think.

Best regards
Stephan

Regards Stephan
GTM-P2G8KFN