Hi Zinjie,
To send an e-mail the right module to use is the e-mail module with templates. The following guide is also applicable to the Email Module with Templates:
https://docs.mendix.com/howto/extendability/install-and-configure-the-smtp-module
This is the recommended way to send e-mails in Mendix. What issues are you having specifically with configuring that module?
Hi Xinjie,
I wanted to test the email configuration, but this is the error message that I got after I setted up the gmail configuration, Can you please help me solve this issue? Thanks a lot!
com.mendix.modules.microflowengine.MicroflowException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Key should not be empty at Encryption.Encrypt (Error : '') at EmailTemplate.BCo_EmailSettings (SubMicroflow : 'Encrypt') at {"before":[{},{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"} at EmailTemplate.IVK_SaveEmailSettings (Change : 'Change 'EmailSettings' ') Advanced stacktrace: at EmailTemplate.IVK_SaveEmailSettings (Change : 'Change 'EmailSettings' ') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:143) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: Key should not be empty at Encryption.Encrypt (Error : '') at EmailTemplate.BCo_EmailSettings (SubMicroflow : 'Encrypt') at {"before":[{},{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"} at EmailTemplate.IVK_SaveEmailSettings (Change : 'Change 'EmailSettings' ')
I used to send email using email template module , however recently due to DMARC domain restriction I am not able to send the emails . How do we resolve the spf/dkim/dmarc setup issue..