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.protocol=smtps
vmops.mail.host=smtp.gmail.com
vmops.mail.port=465
vmops.mail.username=<your gmail id>
vmops.mail.password=<your gmail password>
Regards
Vincent S