I am using email task and I have setup and configured the email as required. Under flowable-task folder, I also changed the email settings as desired in flowable-default.properties file.
It is working fine when the email is being sent from someone@xyz.com to someother@xyz.com.
But, it fails when email is being sent from ‘xyz’ to ‘gmail’. I am not getting any errors while executing the email task and task also gets executed and even nothing comes up in the log. But, I do not receive any email on gmail.
Unless your mail server is hosted on the same machine as Flowable, there should be no need to open ports. If your mail server is hosted on the same server as Flowable, or your mail server is self hosted on another machine for that matter, you are probably running into some Gmail security protections (there are many). If you configure a regular mail client (Thunderbird, Outlook, etc) with the same connection information are you able to send to Gmail?
If you are at a larger organization, you should contact your infrastructure team they’re likely running your internal mail servers. If you’re in a smaller organization, you might think about outsourcing your email services.