Support » Plugin: Contact Form 7 » Selectable Recipient Issues

  • Resolved jonpbradley

    (@jonpbradley)


    I’ve used this code for a drop down…

    [select your-recipient “Test|name@domain.com” “General Enquiry|name@domain.com” “Chris Tufnell (Vicar)|name@domain.com” “Anna De Castro (Children, Youth and Families Worker)|name@domain.com” “Helen Hayward (Church Warden)|name@domain.com” “Lynsey Frost (Parish Safeguarding Officer)|name@domain.com”]</label>

    And then used [your-recipient] in the ‘To’ field on the ‘Mail’ tab.

    Based on the info here… https://contactform7.com/selectable-recipient-with-pipes/

    But I’m getting a ‘Invalid mailbox syntax is used.’ error. Can you help me work out what I’m doing wrong? I’ve tried without the brackets and commas in the fields but still no joy.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Invalid mailbox syntax is used.

    Try making the form-tag a required menu field:

    [select* your-recipient include_blank "Test|name@domain.com" "General Enquiry|name@domain.com" "Chris Tufnell (Vicar)|name@domain.com" "Anna De Castro (Children, Youth and Families Worker)|name@domain.com" "Helen Hayward (Church Warden)|name@domain.com" "Lynsey Frost (Parish Safeguarding Officer)|name@domain.com"]

    Thread Starter jonpbradley

    (@jonpbradley)

    Thanks, that’s made the error message go but the form isn’t sending. I’m getting… ‘There was an error trying to send your message. Please try again later.’

    I’ve set up a Mailgun account and used their app to push all mail through the API but then the little loading icon just spins and spins and nothing else happens.

    Any ideas on that?

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    For a new question, open a new topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Selectable Recipient Issues’ is closed to new replies.