Hi, I am getting the below exception while I try to send email through my application.
javax.mail.SendFailedException: Sending failed;
nested exception is:
In my java code I didn't use any authentication functionality. If I restart my WebSphere server, the issue gets resolved by itself. But it is happening frequently and I am restarting the server on the daily basis. Any help is greatly appreciated.
In the Java code for configuring the mail properties, I am using the below snippet
Properties props = System.getProperties();
Properties props = new Properties()
Will that be the problem? Will the server properties over right the values. If so do you know where can I get the System Property values. Please let me know, if you need any info on this.