Sending test mail throws exception

Hello

I configred the Email section at setup with my gmail account. Testing it gives following error:

Can't send email to ****@gmail.com. Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587; 
nested exception is: java.net.ConnectException: Connection refused: connect. 
Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587; 
nested exception is: java.net.ConnectException: Connection refused: connect


I also tried with my companies smtp, but this also does not work.

Any idea what is going wrong?

Thanks

Mark

screenshot.jpg
0
2 comments
The thrown object must be an instance of the Exception class or a subclass of Exception. Trying to throw an object that is not will result in a PHP Fatal Error.
0
Ok, but how to solve this problem?
The tool is practically unusable if i can't get this to work.
0

Please sign in to leave a comment.