cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup a smtp e-mail server with smtp authetication required in NetSight?

How to setup a smtp e-mail server with smtp authetication required in NetSight?

Shunze_Lee
New Contributor II
How to setup a smtp e-mail server with smtp authetication required in NetSight?

45b75bee1a514d29a6050a9774db9205_RackMultipart20140901-18716-nivo5w-2014-09-01_105747_inline.png



I can not find the option...
6 REPLIES 6

Shunze_Lee
New Contributor II
It works with gmail.

First add the following line to /usr/local/Extreme_Networks/NetSight/appdata/NSJBoss.properties
mail.smtp.port=587
mail.smpt.auth=true
mail.smtp.starttls.enable=true

f89009976f4a4a4a8e811f1c3ac75cd9_RackMultipart20150126-21726-iqpq70-01_inline.png



Then login gmail account, disable to 2-step verification, and enable "Access for less secure apps"

Modify the NetSight E-Mail Server Option.

f89009976f4a4a4a8e811f1c3ac75cd9_RackMultipart20150126-18626-1v55guu-05_inline.png



Test the mail setting.

f89009976f4a4a4a8e811f1c3ac75cd9_RackMultipart20150126-27290-1bffds0-04_inline.png



It works~

Reference URL,
http://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-example/

thanks, got it~

Drew_C
Valued Contributor III
Hi Shunzie, thanks for the update on this one!
I just wanted to note that you shouldn't have to disable 2-step authentication with Gmail if you use an application specific password.

Brian_Anderson3
New Contributor
Might try this:
add this to NSJBoss.properties 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

restart services after changes.

GTM-P2G8KFN