Email multiple files (script)
Copy link to clipboard
Copied
Hello everyone,
I'm currently setting a script to separate a PDF in two files and i have to send the files in an email next.
I can send two emails with one file in each but i want to send both files in one email, all that with a script.
Anyone knows how i can do that please ?
(sorry for my english..)
Thank you
Copy link to clipboard
Copied
I thought to this solution :
Open every files I need to send and use "this.mailDoc" but replace "this" by another command which include every opened files ?
Copy link to clipboard
Copied
This is not possible.
Copy link to clipboard
Copied
If you can run the code from a privileged context then you can use the activeDocs property of the app object to access all the currently open files.
Copy link to clipboard
Copied
Ok, can you help and purpose a code which open two files and mail both with a script please ?
Copy link to clipboard
Copied
I can help, but if you want me to write the full code for you we will need to discuss the price for it.
I've explained the basic approach of how it needs to be done.
Copy link to clipboard
Copied
I think we spoke about 10 code lines so i'm not ready to pay for that. I want to optimise a process but if I can't send email automaticaly, I'll do it by myself.
I thought we are here to help community, not to earn money. Sorry

