Optional email sending allows you to send email depending on the field values that were entered to the form.
Template:
where:
path/file - is the common email sending parameter, that points to the email template file
parameters - can be any expression using logical operators: == (for "equals"), != (for "not equals"), || (for "OR"), && (for "AND"). If you do not check the value of some field, Form Processor Pro will check if this field filled. Special parameters: contains and does_not_contain, which check if word or phrase is contained or not in some variable.
Example:
Result:
Condition can be any condition that is accepted by PHP.
Each value must be put in quotes or double quotes.