Skip to main content
Question

How to get the forwarded email section from an email message


Forum|alt.badge.img+1

I need to create an automation anywhere bot to read bounced emails and extract the original mail subject and recipient from the email body.

But the ------------ Forwarded email---------- section is not captured in the email body

What can I do to sort this?

 

The process I used is mentioned below but the forwarded message section was not displayed in the message

 

Connect Email action - using imap

Loop action - Read email - assigned to a dictionary variable

Message action - display message was set to $EmailDetails{emailMessage}$

 

5 replies

Lu.Hunnicutt
Pathfinder Community Team
Forum|alt.badge.img+10
  • Pathfinder Community Team
  • 45 replies
  • March 13, 2025

Hi! I’m going to tag a few folks who may be able to help!

@Vatsy 

@Ganesh Bhat 

@Marc Mueller 

@devpatel 
@pdube 


Marc Mueller
Pathfinder Advocate | Tier 6
Forum|alt.badge.img+13
  • Pathfinder Advocate | Tier 6
  • 133 replies
  • March 14, 2025

Hi ​@Pamodi,

 

could you add a screenshot of the “original” mail and what is shown in your message box please?

We use the IMAP as well and we get the whole emailBody. 🤔

 

Cheers

Marc


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • March 15, 2025

@Marc Mueller   The section highlighted in yellow is not fetched for the body

 


Marc Mueller
Pathfinder Advocate | Tier 6
Forum|alt.badge.img+13
  • Pathfinder Advocate | Tier 6
  • 133 replies
  • March 15, 2025

@Pamodi 

Have tried to switch between 'Plain Text'  and 'Html'?

 

Cheers

Marc


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • March 15, 2025

Yes I tried that still the highlighted in yellow not fetched ​@Marc Mueller 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings