Contact Form 7
Multiple E-mail in dropdown after pipe (2 posts)

  1. Myth024
    Posted 2 years ago #

    I'm currently using a drop down menu so users can select a department to send an e-mail to. All of this works correctly. However, in some cases I would like to send a copy of the message to more than one e-mail address. I'm currently using pipes so that the end-user sees the name of the department instead of the e-mail address. So in the code side of things I'll have (an example)
    "Dept1|dep1@domain.com Dep2|dep2@domain.com Dep3|dep3@domain2.com "
    Is there a way that if someone selects say, Dep1 that the message would go to dep1@domain.com AND dephead@domain3.com.


  2. Takayuki Miyoshi
    Plugin Author

    Posted 2 years ago #

    Do "Dept1|dep1@domain.com, dephead@domain3.com" (separate using comma).

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


No tags yet.