Unable to send email from maven project with 587 port (smtp.gmail.com)

i have refereed the tutorial of – send emails automatically to email using Maven from Eclipse. i did it successfully.  http://toolsqa.com/selenium-webdriver/send-reports-automatically-to-email-using-maven-from-eclipse/ But it wont work for 587 port in pom.xml file. i am getting error below: http://[ERROR] Sending the email to the following server failed : smtp.gmail.com:587: Exception reading response: Unrecognized SSL message, plaintext connection? -> [Help 1] My office network allows 587 port. However, it works on 465 port in my home network. Please help to configure for 587 port.

Default Asked on November 16, 2018 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.