Do I need to test for the picture(s) outside of this calc and put it in the script. if so, why?
I just tested putting the EmailAttachFileInline functions in thier own calc and it works fine.
Anyone know why? (just curious)
You use logical operator 'and' in the expression.
If one of expression concatenated by 'and' results 'false' ( or 0 or "" ), after of that never be calculated.
(1=1) and (2=3) and (3=3)
1=1 is true, so continue calculation after 'and' of expression
2=3 is false, so total result of this expression decides 'false'. so skip after 2nd 'and'.