Hello I have a function where i want to loop thorugh email( made this to work)
Look into the subject of the email an retreive the VRN number and save it in a folder called attachments, then each folder inside attachment will be assigned with the VRn number as title. The VRN number its different for each email
the mail subject looks like this M3 Booking confirmed VRN: VH91428 Ordernumber: 0000400334.
When i run the function it dont save anything. So dont know why it won work.
Here is my command lines
Can you try the below expression. I guess the second element contains the VRN number.
The first element would be just Space. mail.Subject.Split(":".ToCharArray)(1).Split(" ".ToCharArray)(1)
to get this number VH91428
Use like this Split(Split(Mail.Subject.ToString,“:”)(1).ToString.Trim," ")(0).ToString
Hope this would work
Cheers @langsem
What was the condition been set buddy @langsem
and kindly check first whether the mails are fetched and the condition set in the flow decision,
if you checked the onlyunreadmessage property we need to make sure that we have still left with some unread mails in our mail inbox
Check with this and let know buddy @langsem
Cheers
the mail folder is not yet changed buddy, as per your previous post i hope…
and remove the account property value as well, and i think the condition and the split that we did looks good rather we are not getting any mails from here and thats the issue
Kindly try and let know @langsem
Cheers