Skip to main content
Question

I want to send an email where the data before @ changes for example: one mail is abc@gmail.com and the second is xyz@gmail.com so when i put a wildcard for the dyamic value it isnt working is there a workaround?

  • January 4, 2022
  • 7 replies
  • 255 views

I want to send an email where the data before @ changes for example: one mail is abc@gmail.com and the second is xyz@gmail.com so when i put a wildcard for the dyamic value it isnt working is there a workaround?

7 replies

  • Author
  • Navigator | Tier 3
  • January 4, 2022

Capture1like this

 


Ashwin A.K
Forum|alt.badge.img+10
  • Navigator | Tier 3
  • January 4, 2022

Hi @Meghana Menon​ ,

 

Here is an alternative, loop through all UNREAD mails and add an If Action to check if the Dictionary Key $emailDetails{"emailFrom"}$ contains @gmail.com

 

image 

Could you try that out instead?

 

Kind Regards,

Ashwin A.K


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • January 4, 2022

Hi @Meghana Menon​ ,

 

Can you share the snippet of your code and give more details?


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • January 4, 2022

Hi @Meghana Menon​ ,

 

You need to pass the list of mail ids in this format abc@gmail.com;xyz@gmail.com;123@gmail.com etc..,


  • Author
  • Navigator | Tier 3
  • January 4, 2022

the value changes..the bot has to pick based on the mail..only data after @ is constant..


  • Author
  • Navigator | Tier 3
  • January 4, 2022

the mail has to be read based on the @gmail.com the 1st value changes everytime..If i put * it isnt getting dynamic


Ashwin A.K
Forum|alt.badge.img+10
  • Navigator | Tier 3
  • January 4, 2022

Hi @Meghana Menon​ ,

 

You have the option of chaining emails with a semi colon.

 

abc@gmail.com;xyz@gmail.com; etc

 

Would that help?

 

Kind Regards

Ashwin A.K