Hello,
I was wondering if someone could point me to an example of the script that check if file with name "john.pdf" in a folder then look up in an excel sheet or text delimited file for john's email and send the John.pdf to john's email.
Thank you
Digging thru the older post, I was able to come up with something that works
email files to correct person
Moderators: JRL, Dorian (MJT support)
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Re: email files to correct person
There wouldn't be an example script for it, but could be done.
You would need to make sure that there are only one John for example or have the file name match if there are more than one John.
Example John Smith.pdf, John Jones.pdf
As long as the file names are matched the same as the excel file it should be fairly easy.
If they aren't you might need to use some regex. That I am not very good at.
Hopefully that helps.
You would need to make sure that there are only one John for example or have the file name match if there are more than one John.
Example John Smith.pdf, John Jones.pdf
As long as the file names are matched the same as the excel file it should be fairly easy.
If they aren't you might need to use some regex. That I am not very good at.
Hopefully that helps.
FIREFIGHTER