Hi Team,
I'm getting below exception, Please help on this...
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 587, response: 421
Thanks,'
Naresh,
Hi Suresh
are you able to use the same credentials for other applications?
are you sending large numbers of mails?
can you use the send test email?
see article here too
https://confluence.atlassian.com/confkb/confluence-is-unable-to-connect-to-the-mail-server-response-code-421-314450663.html
Can you try on port 25 or 465?