How do i actually send an email to my client from within openemr?

gmail actually is not working.
I have a domain name and have hosted openemr there.
eg
eg support@mydomain.com
smtp.mydomain.com
465
ssl
i tried tht also its not going, says server error.
but when i open my email support@mydomain.com the emails are created but not sent.
still the error is same

Could not send email due to a server problem. 12 emails not sent