Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Multiple contact forms

Explorer ,
Nov 11, 2016 Nov 11, 2016

Copy link to clipboard

Copied

Hi

Is there a way in to select a destination of email in just one contact-form?

I mean having like three options:

a.- person1@domain.com

b.- person2@domain.com

c.- person3@domain.com

send the form to just one of them?

Marco

Views

158
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Nov 11, 2016 Nov 11, 2016

Sure. You would make it a select list or radio set within your form. The values would be the email addresses. Give it a name like "recipient" or whatever, then when the form is processed, assign the value like this:

mail ($recipient, $email_subject, $emailcontent, $headers);

. . .assuming that you are using PHP mail.

Votes

Translate
Guru ,
Nov 11, 2016 Nov 11, 2016

Copy link to clipboard

Copied

LATEST

Sure. You would make it a select list or radio set within your form. The values would be the email addresses. Give it a name like "recipient" or whatever, then when the form is processed, assign the value like this:

mail ($recipient, $email_subject, $emailcontent, $headers);

. . .assuming that you are using PHP mail.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines