Support Article
Apostrophe character being stripped from email addresses
SA-31670
Summary
Error is found when sending a mail to the email id with Apostrophe, for example: name.sur'[email protected]),
The apostrophe is stripped from the email address thus the error is being shown.
Error Messages
The email address you entered couldn't be found.
Steps to Reproduce
1) Create flow.
2) Run the flow and add any interested party while creating the Work Object (WO).
3) Provide the email address of interested party which having the apostrophe.
Root Cause
It is bug in the product.
Resolution
Perform the following local-change:
In the activity PopulateRecipients(Data-Corr-Email) replace the following code snippet in all the 2nd, 3rd and 4th steps
primaryPage.putString(".pyToString", sbAddresses.toString().replaceAll("'", ""));
with the below code:
String emailAddressFinal = sbAddresses.toString().replaceAll("','", ",").replaceFirst("'", "");
primaryPage.putString(".pyToString", emailAddressFinal.substring(0, emailAddressFinal.length()-1));
Published January 3, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.