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
mail.Subject.Contains(“M3 Booking confirmed VRN:”)
“Attachments” + RegNr