Page 1 of 1

Assign email address by script

Posted: Mon Jan 22, 2018 11:50 am
by major
Hello.
I'm looking for a script that would assign an email address to job.

I'v some jobs which I have to (after passing the flow) send by mail to different addresses according first three signs of input filename:

aaa_xxxx.pdf -> mail1@domain.org
aab_xxx.pdf -> mail2@domain.org
anything_else.pdf -> don't attach address

Best regards and Thanks for any response,

Major

Re: Assign email address by script

Posted: Mon Jan 22, 2018 3:10 pm
by loicaigon
Depending on how many scenarios you have to dela with, you may achieve this out of a script with simple sorting.
However I agree a script is convenient.

Here is the script:
http://support.ozalto.com/downloads/Add ... Script.zip
And here some screenshots
Image
Image

Re: Assign email address by script

Posted: Thu Jan 25, 2018 3:55 pm
by major
Thank You very much.
It works, if I insert these, generated by script, private data to "To addresses" row in SendMail config.
Best Regards

Re: Assign email address by script

Posted: Thu Jan 25, 2018 4:24 pm
by loicaigon
Glad it helped. If it was me, I would have use an external data file that the script would load. That would allow you to increment the list out of switch.

Re: Assign email address by script

Posted: Mon Apr 30, 2018 8:38 pm
by Corporate films
You can also use this to assign email address by scripting in easy steps.
Corporate Film Makers

Thanks

Re: Assign email address by script

Posted: Fri May 04, 2018 9:02 am
by trafford
Thanks, loicaigon! It works!