2

I need to create multiple contact forms, with different recipients. The contact forms I want to create, has to have the same fields, nothing fancy.

I just need to create different simple contact forms, each of them, with a different recipient.

Or eventually, I just need ONE contact form with a dropdown, that basing on the selection, it will send to a particular recipient.

Please, help me!

1 Answer 1

1

Instead of rewriting only the send email,

You have to create another template html for the admin in order to receive the email and then rewrite the Controller.

Updated Answer.

5
  • Really? I thought it wasn't that complicated. Since I just need to use different recipients, but same form, I thought I just had to rewrite the sendMail(). Is that right? Commented Nov 1, 2019 at 13:52
  • If you want to send multiple recipients then it is easy, but if you want multiple form then it is too much complicated. Commented Nov 2, 2019 at 5:05
  • why? Can you explain me how to do it? Commented Nov 2, 2019 at 19:19
  • It was just a little more complicated than what I thought but I did it. Instead of rewriting only the sendemail, I had to create another template html for the admin in order to receive the email and then rewrite the Controller. Commented Nov 3, 2019 at 3:30
  • Okay!! Thanx, I have updated the Answer, If you want to edit or correct it, you can. Commented Nov 4, 2019 at 5:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.