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.

In reference to "Modify User Notification Email Based on Dropdown Selection"

  1. I'm using GF Version 1.6.5.1 and WordPress 3.4.1.
    I have a form where there needs to have 2 Admin notifications, one fixed or given address, the other pulled from a Select input drop down which I have set the select variables as e.g. Dallas<info@shippingco.com> etc. and then tried to ad that as a Merge Tag in the BCC. That doesn't work. Seems like sending 2 admin emails one as a selected variable would be a straight forward thing with Merge Tags.
    So is this doable or do I need to go to that JS function script from the "Modify User Notification Email Based on Dropdown Selection" Post? If I do need to use that script, Add_Action, will it override the Notifications dialog or work in conjunction with the settings there?

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink
  2. David Peralty

    Sounds like you have everything right, but are having e-mail issues. This is fairly comment as we hook into WordPress' sendmail system and it isn't always the most robust. If you install and configure a SMTP plugin, you might be able to get the BCC working with the merge tag like you want.

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink
  3. Thanks David.
    I installed WP Mail SMTP
    It's set to local host port 25 as the default. I guess I'm not sure how to config this.
    Are defaults good or... I understand SMTP is outgoing, just not sure what else would need to be set. Dialog has:
    From Email
    You can specify the email address that emails should be sent from. If you leave this blank, the default email will be used.
    From Name
    You can specify the name that emails should be sent from. If you leave this blank, the emails will be sent from WordPress.
    Send all WordPress emails via SMTP?
    or
    Use the PHP mail() function to send emails?
    Return Path? Not sure about this one either
    Set the return-path to match the From Email

    SMTP Options:
    SMTP Host: localhost
    SMTP Port: 25
    Encryption: No encryption.
    Use SSL encryption.
    Use TLS encryption. This is not the same as STARTTLS. For most servers SSL is the recommended option.
    Authentication
    No: Do not use SMTP authentication.
    Yes: Use SMTP authentication.
    If this is set to no, the values below are ignored.
    Username
    Password

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink
  4. David Peralty

    You will want to create an e-mail account with your host for sending these e-mails. Your host can give you all the details you need for sending SMTP e-mails so you'll be able to fill out the required settings.

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink
  5. I set up an email account installed the WP SMTP plugin, configured according to my hosts mail server settings and sent a test, all working.
    It's still not using my "Select" select variables as e.g. Dallas<info@shippingco.com>
    in the BCC as a Merge Tag to send the second admin email.

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  6. David Peralty

    Just to confirm you have your settings correct, can you screenshot your notifications section and upload to any free image hosting site?

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  7. You can see it here: http://gondolaskate.com/notification-settings/

    Posted 11 years ago on Friday August 10, 2012 | Permalink
  8. You can see the form here:
    http://gondolaskate.com/ace-hardware/
    password: password

    Posted 11 years ago on Friday August 10, 2012 | Permalink
  9. David Peralty

    Looks like you are trying to put a name and e-mail address in the BCC field, and they only accept just straight text e-mail addresses. So you are trying to put:

    Test<transit@address.com> when the field would only accept transit@address.com in the BCC field.

    Posted 11 years ago on Friday August 10, 2012 | Permalink
  10. David Peralty

    It seems like a better way to do this would be to use Routing. Instead of BCC'ing them, you could have it set up with a list of locations, and then using routing you could send the details to that location based on what a user selects as their location.

    Posted 11 years ago on Friday August 10, 2012 | Permalink
  11. I followed your second suggestion and set up routing which works with my select popup, but then the BCC didn't send. This is an email based product order form. The form info needs to get sent to two people one distributor(state select popup, using routing) and one to the product manufacturer BCC fixed address. And the user filling out the form gets the confirmation notification.

    I previously tried to set the values for the select popup so that it was e.g. Label: Texas Value: info@email.com,
    and that didn't work as a merge tag in the Admin BCC notification either.

    Posted 11 years ago on Friday August 24, 2012 | Permalink
  12. Is there any reason why BCC would not send to a provided email in Admin Notifications if you are also using Routing? I need to send 2 Admin Notifications(form data), 1 fixed or provided, and one based on a selected value from the form. The Routing one is sending, the BCC doesn't seem to be going though.

    Thanks for your help.

    Posted 11 years ago on Monday August 27, 2012 | Permalink
  13. This topic is still open, yes?

    Posted 11 years ago on Wednesday August 29, 2012 | Permalink
  14. David Peralty

    The only reason BCC's wouldn't send is that there is still an error in how sendmail is working. Can you contact your web host about this error to see if they can look at the logs and find out if anything is wrong? Can you try a different address for BCC's like a gmail one, just to see if it is a domain issue?

    Posted 11 years ago on Wednesday August 29, 2012 | Permalink