Hello,
I'm using Log4j as the logging framework and I've configured it to send an
email with log information when a log with ERROR/FATAL logging level is
created.My Log4j configuration is as follows.
code:
Hello Douglas,
Thank you for committing your time on this. I did a deep google search on
this but unfortunately I couldn't get any answer solving this issue. As you
have mentioned, I've already gone through the link you've supplied. I posted
this issue in javaranch.com but not yet answered. and th
Hello,
So I put the code,
* System.setProperty(" mail.transport.protocol","smtps");
System.setProperty(" mail.smtps.host","smtp.google.com");
System.setProperty(" mail.smtps.auth","true");**
**System.setProperty("mail.smtp.starttls.enable", "true"); *
inside the main method of my application.
Hello,
Actually it wasn't the issue in my code and that leading leading spaces were
typing mistakes.
Regards,
Virajith
Hello,
Sorry still I couldn't get it solved. It's really amazing fact that no
forum/IT website answered this question. I'm still trying to solve the issue
but always im getting that error i have mentioned in my post..
Regards,
KHP Virajith
Hello,
By visiting lots of websites I also came to know that property -
"mail.smtp.starttls.enable","true"
is required to send the requested STARTTLS command.
So I put the code, *System.setProperty("mail.smtp.starttls.enable",
"true"); *inside the main method of my application. But now I'm getti
Hello,
Thank you very much.. It works..
Cheers,
Virajith
--
Experience Leads To Success !
Keep In Touch with Viraj...