I have a list with ID's. Let's call it LINKS_LIST.
I need to link those ID's from LINKS_LIST to files titles contained in another folder.
The files in this folders are called like: "20.pdf" So the ID itself.
Example:
In LINKS_LIST I have one line with ID: 20.
In my folder I have a file called "20.pdf"
Lastly, I'd like to send that link (found in LINKS_LIST) associated with the ID by mail. (I have email adresses in my list, no issue)