I am trying to get original subject in pyOriginalSubject from the attachment of the DSN emails. I selected "Process delivery status notifications (DSNs)" option in email listener. Configured Thread-Topic in Message Header and in DSN data, I have mapped original-subject to .pyInboundEmail.pyOriginalSubject. I get pyOriginalSubject as "Delivery Status Notification (Failure)" instead of actual subject of original email.
Please let me know if any other configuration is required.
***Updated by moderator: Lochan to add Categories***
I tried to get the attachment name in DSN emails by using pyattachmentpage. Here I can see 2 value list in pyattachvalues. For ATT00001 attachment pyattachvalue(1) is junk value and for original email attachment pyattachvalue(2) is original-email.eml.
Below is my requirement:
For undelivered emails due to incorrect email ids, I am receiving DSN emails with 2 attachments in it (ATT00001 and original email sent). While processing through email listener I am trying to get the original email subject from the attachment in DSN email. How can I acheive this.
Posted: 4 years ago
Posted: 3 Apr 2018 13:27 EDT
Jeff Houle (HOULJ)
Senior Software Engineer
I think you are doing the right thing on your end - mapping from the ".pyInboundEmail.pyOriginalSubject." property.
If you are getting the subject of the inbound DSN email instead of that of the "original" email attached to your DSN email, you may be experiencing a flaw in version 7.2.1 of the Pega Platform.
I believe you would have better results with Pega version 7.3.1 or newer.
If upgrading is not an option for you, I invite you to reach out to Global Customer Support for assistance. If you choose to do so, please mention this conversation.