It should work as long as you have set the properties in alfresco-global.properties file correctly. Refer here: https://docs.alfresco.com/content-services/5.2/config/email/#outbound-smtp-configuration-properties
Also make sure you have not overriden those properties via JMX. JMX updates takes preference.
I also noticed, a "." (dot) character at the end of "mail.from.enabled.=true", It should be "mail.from.enabled=true"
Also be aware that "mail.from.enabled" property has some impacts on how the emails are sent. With this property enabled, system tries to send email based on the user who is trying to invite a user for example. STMP servers doesn't permit impersonating other users. And you may get error like "firstname.lastname@example.org
not allowed to send as email@example.com;"
so you must understand the implications of "mail.from.enabled". See here for more info: https://docs.alfresco.com/content-services/latest/config/email/#outbound-smtp-configuration-properti...
This config should be enough for outbound emails (based on your inputs):
Here is another sample config list that works locally for me:
(ACSCE, AWS SAA, Azure Admin)