I have tried using SMTP sampler with the following details,
- server: smtp.googlemail.com
- port: 587
- Address from: gmail account
- Address to: gmail account
- checked Use Auth
check box and the required username and password of the from
gmail account is given with the subject and message body.
But I'm facing the below sampler result,
Response code: 500 Response message: Other MessagingException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.googlemail.com, port: 587; nested exception is: java.net.ConnectException: Connection refused: connect
Can anyone please help me on this?
