• Resolved wrip

    (@wrip)


    I tried conditions in the “Additional headers” but this is giving me “invalid mail header fields” error. This is what I am trying to achieve:

    [head_office_selected]
    Reply-To: [email protected]
    [/head_office_selected]
    
    [europe_selected]
    Reply-To: [email protected]
    [/europe_selected]

    Is there another way to do this?

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Yes, you can but you need to write it on one line, like this:

    [head_office_selected]Reply-To: [email protected][/head_office_selected][europe_selected]Reply-To: [email protected][/europe_selected]

    You also need to make sure in this case that your conditional logic is defined in such a way that head office and Europe cannot both be selected. If this can be the case, than you need to change the code a little more to make sure your headers are always valid

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional fields in “Additional headers”’ is closed to new replies.