Share via


The form cannot be submitted because some of the e-mail addresses cannot be resolved. If you know the values in the form that specify the e-mail addresses, revise them and try again.

Scenario:

 

I've put a people picker in the InfoPath form and pulling emails id to send emails based on the display name, which I've filled in the people picker. While submitting the InfoPath Form, I am getting below error for the user Wehrsdorfer, Al.

Error :

InfoPath cannot submit the form.

An error occurred while the form was being submitted.

The form cannot be submitted because some of the e-mail addresses cannot be resolved. If you know the values in the form that specify the e-mail addresses, revise them and try again.

The following addresses did not resolve in the To line: Wehrsdorfer, Al

The following addresses did not resolve in the Cc line: Wehrsdorfer, Al

 

Cause:

 

This issue is due to redundancy of the name, as name could be duplicate in a domain. To verify the same, open outlook and type a name in 'To' now press 'ctrl+k' and it'll suggest you multiple email id's.

 

Solution:

 

To remove the redundancy of the name, we started pulling the email id based on the Account Name. As a workaround we've put 'substring-after(AccountID, "\")', which is unique in every domain.

 

Posted By:

Himanshu Saxena