sullivanne
(Sullivanne)
1
Hi, I’ve never created a robot that works on email, so please support me.
I would like my robot to:
-
Go through all emails with a specific subject.
-
Copy the employee logins from the email content, which are after the text “correctly set:”, to a variable.
-
Send the email BCC.
Hi @sullivanne
MailMessage1=MailMesage1.AsEnumerable.where(Function(X) X.Subject.Contains("Subject to filter")).tolist()
Body=currentMailMessage.Body
correctlyset=System.Text.RegularExpressions.Regex.Match(Body.ToString, "(?<=correctly set:\s*)[A-Za-z]+").Value
Hope it helps!!