Question

hello, how can I get the subject of the incoming mail?

  • 22 September 2022
  • 2 replies
  • 2 views

hello, how can I get the subject of the incoming mail?


2 replies

Userlevel 3
Badge +7

Hi @eks rpa​ ,

 

When you Loop through mails in mailbox using the Loop Action, you have the option of either assigning a Dictionary to the Loop Action or you can directly assign the required keys to select variables.

 

If you are comfortable using the Dictionary, then use this to retrieve the Email Subject:

$dictMails{emailSubject}$

 

If you want to learn more about you can either go through the documentation here or read about it on my dictionaries in general here.

 

Kind Regards,

Ashwin A.K

Here is the documents link

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-using-email-properties.html/p>

 

dictionary keys:

  • emailSubject
  • emailFrom
  • emailTo
  • emailCc
  • emailBcc
  • emailMessage
  • emailReceivedTime
  • emailReceivedDate
  • emailSentTime
  • emailSentDate

 

Reply