Could you perhaps make me a example? Because I really need it today.
Cheers, @Palaniyappan
Could you perhaps make me a example? Because I really need it today.
Cheers, @Palaniyappan
Fine change the scope of all variables in the variable panel to whole sequence
and change the type argument property as String in for each loop
and it gives output like ukjtenhoven.xlsx
but if we want only file name use GetFileNameWithoutExtension which gives us ukjtenhoven alone without .xlsx , instead of GetFileName,
that works
Cheers @ukjtenhoven
Thank you very much hero. I still have two questions if you don’t mind.
Thanl you already for all the help! @Palaniyappan
No worries
For this on the error is not because of left side value in the assign
change the right side variable type to string in the variable panel, its in the generic value type
Then for this
yes of course we can mention this filename either in Subject or in the body mail as well
in Subject property mention like this
"Text Email and the file name is " + out_filename.ToString
or in body in a similar way
Cheers @ukjtenhoven
so did that work buddy
still any issue
Cheers @ukjtenhoven
Thank you very much the first one worked. But for the second one I mean like the file itself and not only the name:
Cheers, @Palaniyappan
Then we can use GetFilename
which would give the full name with extension, like this ukjtenhoven.xlsx
i thought you were in need of only name without extension
So that would work
Kindly try and let know for any queries buddy
Cheers @ukjtenhoven
Yes I think I explained it wrong.
The robot downloads report from a website. Then the robot renames the file to that persons name and then the robot should use the filename as the emailadress and is should also send the file itself. So the report.
Cheers, @Palaniyappan
So I only need that the robot Attach the file
Fine, any issues still
Cheers @ukjtenhoven
Fine
for that we got an option at the bottom the send mail activity named ATTACH FILE
For that we can mention like this
as item is the variable that holds the file path
Thats all buddy
its done
Cheers @ukjtenhoven
You sir are a hero thanks for the quick replys and help!!!
Kind Regards,
No worries
Keep going
Cheers buddy @ukjtenhoven
Fine
@ukjtenhoven
I have the reports:
but there is a different one called: GridMessages.xlsx this one needs to be send to on specific email address. Would you have a idea of how I could accomplish that?
Cheers, @Palaniyappan
use a if condition within the for each loop and like this
item.ToString.Contains(“GridMessages”)
If it this gets satisfied it will go to THEN part were you can have a separate send mail activity or it will go to ELSE part where you can have your current send mail activity
Cheers @ukjtenhoven
Yes thank you for everything
Cheers, @Palaniyappan