Missing final @domain in string -

0
Hi, one of my user face this issue after try to approve a form: I have check all the emails and the template email, it already set correctly. I also have confirmed with user that she can approve other forms.    caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: org.apache.commons.mail.EmailException: javax.mail.internet.AddressException: Missing final '@domain' in string ``-''    at EmailTemplate.SendEmailMessage (JavaAction : 'Send Email')    at EmailTemplate.IVK_SendEmail (SubMicroflow : 'SendEmailMessage')    at eForms.SUB_SendEmailDisposal (SubMicroflow : 'IVK_SendEmail')    at eForms.SUB_SendApproverEmail_TakeActionBy.nested.5b02e033-b56b-469f-a6ac-c8d00581583e [2 of 4] (SubMicroflow : 'SUB_SendEmailDisposal')    at eForms.SUB_SendApproverEmail_TakeActionBy (ListLoop : '')    at eForms.IVK_SubmitChargeBySection_MyTaskList (SubMicroflow : 'SUB_SendApproverEmail_TakeActionBy') Advanced stacktrace:    at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:83) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: org.apache.commons.mail.EmailException: javax.mail.internet.AddressException: Missing final '@domain' in string ``-''    at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: org.apache.commons.mail.EmailException: javax.mail.internet.AddressException: Missing final '@domain' in string ``-''    at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:23) Caused by: org.apache.commons.mail.EmailException: javax.mail.internet.AddressException: Missing final '@domain' in string ``-''    at org.apache.commons.mail.Email.createInternetAddress(Email.java:1974)    at org.apache.commons.mail.Email.addTo(Email.java:846)    at org.apache.commons.mail.Email.addTo(Email.java:829)    at org.apache.commons.mail.Email.addTo(Email.java:778)    at emailtemplate.mail.Sender.send(Sender.java:160)  
asked
1 answers
0

Hi Muhammad Ikhwan Afiq bin Azmir

This error means that one of the email addresses being passed into the EmailTemplate module is literally "-" (a dash string), instead of a valid email like user@domain.com. To be more clear

The EmailTemplate Java action SendEmailMessage is failing because the recipient list contains an invalid email address. Check the user has valid email id if stored in DB.

answered