Hi all,
i am using JDK 1.8 and Eclipse Mars
IDE .
I have added Javamail api in build path and also tried to enter proxy details in Window-> Preference-> Network settings-> Proxy settings. In proxy setting , i set proxy ip and other details to connect to internet.But when i run below code, exception is thrown. Please guide me , how to set up smtp server in eclipse so that i could send mail from
java code in eclipse.
I run this sample code to send email from my system:
But this code gave exception