Erich
Erich

Reputation: 545

How to change the email that a drupal 8 contact form is sent to based on a parameter sent to the form?

I have a content type in my Drupal 8 site called TeamMember which represents and employee at the company. One of the fields is the employee's email address. How can I link the email field to a contact form so that the proper employee receives the email?

Upvotes: 0

Views: 1160

Answers (2)

PWM
PWM

Reputation: 196

You could try the module, Contact Emails. Although I haven't used it, it seems to be made for what you're trying to do.

Upvotes: 0

sunil
sunil

Reputation: 99

You can do it by using rules module Thanks

Upvotes: -1

Related Questions