1
I was developing an e-mail page. Sent legal, but even not giving error in the page it does not send more. I followed this tutorial here. It only works on the server, but on the local machine, it no longer sends: Someone’s been through it?
Transport.send(message);
Check proxy and firewall
– DiegoAugusto
interesting that sent. Here I do not use proxy
– adventistaam
which exception I add to the firewall?
– adventistaam
What mistake are you making?
– DiegoAugusto
No mistake. When you get to this line of Transport.send(message) it stops. Nothing else happens
– adventistaam
tried to disable IPV6, e.g.:
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true
– Dilnei Cunha
no. This code I implement where?
– adventistaam
eu coloquei um debug e ele mostra isso:
 
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
SMTP DEBUG: trying to connect to host "smtp.gmail.com", port 465, isSSL false
– adventistaam
by what it looks like, seems to be the antivirus that is blocking. But I’m still trying to figure out how to release on antivirus
– adventistaam