want to filter the condition based on the subject in IMAP mail Message.
Based on filter condition need to send an email to do that email ID.
for Ex:- Received an email from “flipkart”. My workflow should read the subject line and send an email to that DL with some info/attachment.
Is this required any VB.net code or can be done with an activity.
Welcome to uipath community
Yah this can be done with GET IMAP MAIL activity
And get the output named list_mails
—now use a FOR EACH activity and pass the above variable as input and change the type argument as System.Net.Mail.Mailamessage
—inside the loop use IF condition and mention like this
If true it will go to THEN part where we can use SEND SMTP MAIL activity to send the mail with body property mentioned with string to be passed
Thanks, Its working fine now.
To do so have enabled gmail security -less secure apps for both sender and receiver side.