Support » Fixing WordPress » Choice of email addresses?

  • Resolved TonyWilliams

    (@tonywilliams)


    I have a contact form but it needs to go to different people depending upon the question. Does anyone know of a contact form where the user can choose which email address to send the content of the contact form to? This is quite a common feature in commercial sites and I wondered whether there was a WordPress plugin that did this?

    Thanks
    Tony

Viewing 8 replies - 1 through 8 (of 8 total)
  • You can use Contact Form 7 to accomplish this.

    You can add Radio Buttons or a Drop Down Menu to your form, and have the result that the user selects populate the “To” email field.

    Sorry, more specifically, see this post: http://contactform7.com/selectable-recipient-with-pipes/

    I personally like Gravity Forms better for this. You can send the form entry to any email address based on what the user chooses in any field.

    @Oizuled
    Thanks for that link. I will add the pipes once I’ve got the form to work. At the moment I’m getting this message when I click the submit button:
    Failed to send your message. Please try later or contact the administrator by another method

    The code on the contact form is this:

    [ Moderator note: please wrap code in backticks or use the code button. ]

    <p>Your Name (required)
        [text* your-name] </p>
    
    <p>Your Email (required)
        [email* your-email] </p>
    
    <p>Subject
        [text your-subject] </p>
    
    <p>Your Message
        [textarea your-message] </p>
    
    <p>Who do you want to contact
    [select your-recipient "redacted"
    "also redacted"
    "do you see a pattern here re email addresses"] </p>
    
    <p>[submit "Send"]</p>

    Can you give me some ideas as to where to start looking for the error which is causing this?

    I’ve also realised that in the Set up Mail box there is a specific email address. Should this be a tag and if so what should it be?

    The link to my test site is this http://www.s506439810.websitehome.co.uk/warriorswordpress/ and the Contact Form is reached by clicking the Contact Us link in the left hand sidebar.

    Thanks
    Tony

    @senff. Thanks for that. If I can’t get Contact Form 7 to work I’ll have a look at that.
    Thanks again
    Tony

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Have you posted in Contact Form 7’s subforum’s?
    http://wordpress.org/support/plugin/contact-form-7#postform

    @ Andrew Nevins Hi I’ve just re-posted the problem in the Contact Form 7 forum too.

    I won’t mark this as resolved yet in case the previous posters have subscribed to this post.
    Thanks
    Tony

    Appears to be working OK now. Created a tag and added the tag to mail setup screen.
    Tony

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Choice of email addresses?’ is closed to new replies.