Send e-mail via JavaScript?
Hi all
I've written a script that processes an Illustrator file, then, as a final result, exports PDFs to a specific folder. Everything looking fine up to here. My code created almost 500 PDFs correctly.
The question is the following:
For each loop inside my script, I have a variable (called "myFile"), especifically a File object, that is exactelly my outputted PDF file.
I also have a variable (called "mail") especifically a string, that has stored an e-mail adress (this adress changes for each PDF).
I'd like, If possible, to send "myFile" to the e-mail stored in the "mail" variable.
I looked at Illustrator JavaScript reference and also to the JavaScript Tools Guide, but did not find any object or any way to do that.
Is there any way to send files, this case PDFs, created via Illustrator scripting, by e-mail???
P.s.: I also thought perhaps I could use BridgeTalk object to send the message/task to other Adobe Application to send this e-mail, but I really do not know If there's any Adobe Application that has an object or method to send e-mail via JavaScript (at least Photoshop and InDesign could not do that, If I remember well, and I did not find any way to target Acrobat in order to try this).
Any suggestion?
Thank you very much
