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.

Multiple email addresses in Routing

  1. Hey,

    I need to have the form send to multiple emails using the Routing notification setup.

    For example, if Value X is selected in menu 1, email goes to these three email addresses....

    I entered the three email addresses with a comma in between them, and it won't let me save it....also tried semi colon.

    Is this possible? Or do I have to create a new "condition" for each email address?

    Thanks

    Posted 13 years ago on Friday May 14, 2010 | Permalink
  2. Comma separated should work. I just did a test on my end and received the notification to 2 different emails. Separate them with a comma with no space like this:

    email1@email1.com,email2@email2.com,email3@email3.com

    It should work, it did in my quick tests locally.

    Posted 13 years ago on Friday May 14, 2010 | Permalink
  3. Thanks Carl. I have a space after the comma's so that seems to be the problem..

    Thanks very much

    Posted 13 years ago on Friday May 14, 2010 | Permalink
  4. I am having a similar issue. I have them seperated as shown above however the email does not get pushed. It works with single email address though. I also checked the form entries and all of my entries are populating the database however emails are not going out.

    Posted 13 years ago on Wednesday September 1, 2010 | Permalink
  5. @raris Make sure there are NO spaces after the comma. We are going to look into it but right now it doesn't like if you have extra spaces between the names.

    So instead of:

    email@email.com, email2@email2.com

    You would have:

    email@email.com,email2@email2.com

    Notice the second one has no space between the comma separator.

    Posted 13 years ago on Wednesday September 1, 2010 | Permalink
  6. Hi Carl,

    Thanks for the post. I have already verified everything and do not have spaces in between email addresses. I have it exactly as you show. Unfortunately, only works with a single email address. I am using an SMTP plugin (WP-Mail-SMTP) on my WordPress install. Would this have anything to do with the issue?

    My have a WIMP setup. Server 2008, IIS7, MySql and PHP.

    Posted 13 years ago on Wednesday September 1, 2010 | Permalink
  7. Some server setups, even running SMTP, only allow for 1 email to be sent via SMTP. They won't accept a comma separated list as they only accept a single value. This could be the case with your server.

    The WP-Mail-SMTP plugin should have a test form in the admin where you can enter an email and send a test. Try entering a comma separated list and see if it returns an error and says it was unable to send.

    Posted 13 years ago on Wednesday September 1, 2010 | Permalink
  8. STB
    Member

    As stated above gravity forms chokes on extra spaces.
    But it also chokes if you use semicoloms, instead of comma's to separate emailaddresses .

    Since many programs by default use semicoloms to separate emailaddresses (f.e. MS Outlook or Thunderbird), I think it would be helpful to let Gravity Forms allow this as well.

    I think would be nice to see some parsing here, so that GF is more tolerant and accepts both comma's and semicoloms, and doesnt choke on extra spaces.

    If this will be done later on, I think it would be good to add an explanation in the helptext popup for the time being that spaces should be avoided.

    Posted 13 years ago on Wednesday October 13, 2010 | Permalink