How send emails from Openfire 4.1.3?

Hi there,

I’m trying to send test email from openfire admin page, it is configured and i get success message:

Message was sent successfully. Verify it was sent by checking the mail account you sent the message to.

but no message arrives, I’ve checked spam as well.

This is the config:

Mail Host: smtp.gmail.com

Server Port (Optional): 25

Mail Debugging: Off

Server Username: my @gmail.com account

Server Password (Optional): my @gmail.com password

Use SSL (Optional): uncheked

If I check “Use SSL” option I get this error:

Sending the message failed. Please verify that your host and port settings are correct. (Message: Exception reading response)

What can I check to find the error?