Question

Retrieve Email Sender Name


Badge +1

  

Hi,

I wanted to retrieve the sender’s name and the email. For example, I want to retrieve “Mircrosoft Azure Team” and “azure@email.microsoft.com”.

By using email dictionary variable emailFrom, I can only retrieve the email address. 

Kindly help. Thanks.


4 replies

Badge +1

Hi Stanleyng

Please, refer to this documentation to know the properties of the email’s dictionary

Using dictionary variable for email properties (automationanywhere.com)

 

Regards

Userlevel 5
Badge +9

@stanleyng 

Use the key emailFrom  and read the email in HTML Format.

 

 

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

 

Regards

Badge +1

Hi @Raul Jaimes 

I did use the key emailFrom. However, this key only returns the sender’s email address. Example below:

The key emailFrom only extracts the “azure@email.microsoft.com”. I need to extract the sender’s name “Microsoft Azure Team”.

 

Regards.

Userlevel 5
Badge +9

@stanleyng 

Verify if HTMLmessage  format option is selected.

Regards

Reply