Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Image missing when email is sent using SendEmailNotification

SA-18131

Summary



SendEmailNotification is directly used to send an email. Correspondence has an embedded image. 
When email is sent, the received email misses the embedded image. 

This happens only for internal images. If it's an external URL it works fine.


Error Messages



Not Applicable


Steps to Reproduce



1. Create a Correspondence rule and embed an image. 
2. Use property-set-corr and assign it to a property. 
3. Use this property as Message for SendEmailNotification activity. 


Root Cause



A defect in Pegasystems’ code or rules. Unable to encrypt the relative path used to attach image.

<img alt="" src=’webwb/pxPegaBtnUp.png’>  

Image tag is rendered as it is in the email and it displays X as it cannot interpret the path.
 

Resolution



Perform the following local-change:

Use the below path to attach image. 

<img alt="" src='<p:r n="pxThread.pxReqHomeURI" m="normal"/>/webwb/pxPegaBtnUp.png'/>  

This path will help render the image at runtime as below.

<IMG alt="" src='http://xxx.x.x.x:8631/prweb/PRServlet/FiOHe9YQCM6QY6BPF7j485pCCI3Uu6RJ*/webwb/pxPegaBtnUp.png'/></Prop6> 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us