javax.mail.MessagingException: Can't send command to SMTP host; nested exception is:
I found out the problem.
The problem was with the protocol setting in the cloud.properties file.
It is supposed to be smtps with port 465.
snippet of the mail configuration section is here :
vmops.mail.username=<your gmail id>
vmops.mail.password=<your gmail password>