Email notification from XMC are not working
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
08-10-2018 11:09 AM
Dear All,
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.
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.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
08-22-2018 04:04 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
08-21-2018 08:25 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
08-13-2018 05:40 PM
Regards
Stephan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
08-13-2018 05:40 PM
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
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
