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:
send the form to just one of them?
Marco
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.
Copy link to clipboard
Copied
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.