Email in flowable

Hi All,

We are trying to configure email in flowable and have maintained the below parameters

flowable.mail.server.use-ssl=false host)
flowable.mail.server.default-from=(email id)
flowable.mail.server.username=(user name)

the mail is not working with this config: cannot convert socket to TLS

if I enable ssl, then it starts connecting to 467 port instead of 587 and connection to mail host fails.

Could anyone suggest where its going wrong?