PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Conditional Subject Lines?

  1. Hi all,

    Hoping someone can help me solve this problem.

    I have one form with 4 different options in a drop down. I want to route *all* the emails to the same "support@" email address, but I want the subject line (or at least part of it) to be conditional based on the selection from the drop down.

    This is so that I can set up filters in my inbox to route the emails to a different folder based on the subject line. The goal is to have a small group of support staff that will manage the folder they're responsible for while still using the same inbox.

    Is there an easy way to accomplish this? Or, can you think of an alternate method to accomplish the same thing? I'd prefer to stay away from writing a bunch of php.

    Posted 11 years ago on Saturday February 2, 2013 | Permalink
  2. You have the merge tags from your form available in the subject line for the admin notification. Can you use the "Insert Merge Tag" drop down to insert that field into the subject line? If you don't want the whole selection, maybe use the value rather than the label, in your merge tag. This would require no PHP, but maybe I am overlooking a requirement of yours?

    Posted 11 years ago on Saturday February 2, 2013 | Permalink
  3. Thanks Chris. I was just coming back here to update this post as "solved." I completely overlooked the facts:

    1) Merge tags are available in the subject line, and

    2) Gmail filters search message bodies, not just subject lines.

    The solution I decided on was to just include that field in the body of the email, and Gmail picks it up just like it ought to. Simple.

    Posted 11 years ago on Saturday February 2, 2013 | Permalink
  4. Thanks for the update.

    Posted 11 years ago on Saturday February 2, 2013 | Permalink

This topic has been resolved and has been closed to new replies.