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

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.

|improve this answer|||||
  • 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? – Gerardo Siano Nov 1 '19 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. – Oscprofessionals Nov 2 '19 at 5:05
  • why? Can you explain me how to do it? – Gerardo Siano Nov 2 '19 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. – Gerardo Siano Nov 3 '19 at 3:30
  • Okay!! Thanx, I have updated the Answer, If you want to edit or correct it, you can. – Oscprofessionals Nov 4 '19 at 5:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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