After converting the Mail date to System date. I want to validate, if there is any mail in mail box with today’s system date.
Please find the sample workflow’s attachment .
Thanks in advance.
After converting the Mail date to System date. I want to validate, if there is any mail in mail box with today’s system date.
Please find the sample workflow’s attachment .
Thanks in advance.
I’m new to uipath.
The syntax i’m trying to use is like item.header(“Date”).Contains()
Hi @AshwinS2, I have already looked into this statement. Not getting the syntax. My query( I want to fetch the date from Email and convert to (“dd/MM/yyyy”) date fromat and then compare the email date and System date.)
Please find the attachment
Yes. When i fetch the date from Email.
Only date.
try this
DateTime.ParseExact(row("columnname ").ToString,“(“dddd, dd MMMM yyyy”)”, System.Globalization.CultureInfo.InvariantCulture).ToString(“MM/dd/yyyy”)
Thanks
Ashwin S
Hi @AshwinS2, i’m not understanding the the syntax which you have pinged. Please find in my initial attachment. In IF condition i have added validation like item.subject.Contains(“hostname”) And item.Body.Contains() And One more I want is to validate the mail date with Systemdate. (Reason to fetch the mail body according to today’s date containing same Subject name, keyword in body).
@Samuel_Sugur1 Can you Try this and Check :
Hi , trying to fetch date from mail using item.Header(“Date”) ,the output comes in the format of Thu 02/27/2020 8:00am and I want to convert the mail date format to System date format i.e 02/27/2020
Please help.
Yes. I tried the syntax which you have suggested still no expected output.