Hi mates…
Can anyone suggest the solution for below question.
I have to attach recent file from folder using send outlook mail message activity…
Please let me know if any one have some solution on this above question
Regadrs,
PK
Hi mates…
Can anyone suggest the solution for below question.
I have to attach recent file from folder using send outlook mail message activity…
Please let me know if any one have some solution on this above question
Regadrs,
PK
Hi!
Did you getting any error?
Regards,
NaNi
Hello.
this expression would get you the latest file str_filepath = Directory.GetFiles(yourfolder_path,“*.txt”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)
In send email, in attach, use variable str_filepath
Hug
Can you please send the equation to be used to attach recent file from folder
Hi!
Try this:
str_filepath = Directory.GetFiles(yourfolder_path,"*.txt").OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)
Reference:
Regards,
NaNi