Optional Email Sending

Optional email sending allows you to send email depending on the field values that were entered to the form.

Template:

email = path/file[, parameters]

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.

First line: if field_name is not empty, email will be sentSecond line: if field_name is not some_value, email will be sentThird line: if field_name and field_name2 are not empty, email will be send.Fourth line: if firstname has the value firstname and email contains gmail.com