Contact Form 7
drop down list with recipient email addresses not working (4 posts)

  1. MikePayne
    Posted 4 years ago #

    I am trying to get a drop down menu to decide the email of the recipient. I used pipes to separate the emails from the drop down names. It is saying "Failed to send your message. Please try later or contact administrator by other way." but when I replace [recipient] with an email address, it works fine..


  2. vipinanandvp
    Posted 4 years ago #

    Please use the following code in form box,

    [select your-recipient "CEO|ceo@example.com"

    Then add the tag to mail "TO" filed,

    Do't forgot to update the emails with your specific mail ids.

  3. Philip Gledhill
    Posted 4 years ago #

    Hi, thanks for helping out here, your time is appreciated.

    I'm still having a struggle to make multiple email addresses work. I think I understand the first part [select your-recipient... but

    I'm not sure what is meant by “Then add the tag to mail "TO" filed, [your-recipient]”

    Do you mean add this and nothing else to the TO: field (deleting what was already in the TO field?)

    I think I'm missing a really simple step here but I'm not sure what it is. Could you clarify, are there two steps? What exactly is the second step?

    I’ve seen many posts that appear to assume everybody already knows what the really simple second step is and that it's too obvious to mention. Unfortunately I don’t know what this step is, Please help.

    Thanks I advance for any help.

  4. hreekie
    Posted 4 years ago #

    Philip: At the bottom of the Contact Form 7 there is a MAIL section

    Put [your-recipient] in the TO: section

    Then whatever is selected in the drop down will get emailed to the corresponding email address - I.e CEO will go to ceo@example.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic