Support Article
Email Content distortion issue in lotus notes
SA-1524
Summary
An email is sent by user to a Pega CRM application.The email is received by the Pega application.User responds to the email from the Pega application.The user receives the email in his lotus notes.The user replies to the email - while reply, the user Name given in the salutation is getting spanned across the entire email content
Eg. on replying, in the email history, use/sender's name in the salutation gets displayed with tab/large space between each word.
"Dear FirstName LastName" is displayed as "Dear FirstName LastName"
Error Messages
N/A
Steps to Reproduce
1) Configure a corrospondence which has salutation and signature
2) Send an email using Pega.
3) The email is received in lotus Notes
4) While the user replies to the email or Replies ALL to the email
Eg. On replying, in the email history, user/sender's name in the salutation gets displayed with tab/large space between each word.
"Dear FirstName LastName" is displayed as "Dear FirstName LastName"
Root Cause
On going through the HTML source of the corrospondence we see that text align is of type justify due to which the issue was coming up.
<P class=MsoNormal style="TEXT-ALIGN: justify; MARGIN: 0in 0in 0pt; TEXT-JUSTIFY: inter-ideograph; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; COLOR: black">Dear <pega:include name="SalutationAndName.Email" type="Rule-Corr-Fragment"></pega:include><br></span><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; COLOR: black"><?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p></span></P>
Resolution
Gave a local change to make the text-aligh as left in the HTML source code and which was working fine.
<P class=MsoNormal style="TEXT-ALIGN: left; MARGIN: 0in 0in 0pt; TEXT-JUSTIFY: inter-ideograph; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; COLOR: black">Dear <pega:include name="SalutationAndName.Email" type="Rule-Corr-Fragment"></pega:include><br></span><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; COLOR: black"><?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p></span></P>
Published January 31, 2016 - 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.