I found the following line in MailUtitily class.
I found there is a enableTls property of MailConfig, but set the value of enableSsl property, is this correctly? or it is a bug?
Looks like a bug.
Can you open a Jira on it.
Oh...it is fixed.
I went ahead and commited a fix for it.