batseb
November 13, 2019, 10:57am
1
Hi,
I use UiPath.Mail.Activities.SaveMailAttachments. (version 1.4.1)
For some MailItems, I have files with the syntax “toto.titi.tutu.vcf”. It seems to be the origin of the error “Illegal Characters in path”
UiPath.mail.Activities : version 1.4.1
FolderPath : "D:\TEMP"
Message : item
Filter : “.*(.xlsx|.XLSX)”
Have you another solution for me?
Thanks,
Example
Attachment 1 : FileTest.xlsx
Attachment 2 : batseb.france.data.vcf
The file “FileTest.xlsx” is copyed on the local hard disk then the error appears.
sandeep13
(Sandeep Pathak)
November 13, 2019, 11:08am
2
@batseb
you could change the name of the file or replace (.) with another character like (_)
2 Likes
batseb:
“toto.titi.tutu.vcf”
i hopee this is the issue
usuallly filename followed by a dot will be the file extension of that file
as you have used multiple dot symbol it shows this error
may i know why you want to use . in the file name
if not necessary we can use as @sandeep13 suggested
Cheers @batseb
1 Like
batseb
November 13, 2019, 12:36pm
4
Thanks for the answers.
The emails are sent by the customers and I can’t change the “three dot rule”.
Another way instead of putting a Try Catch?