Dynamically Trigger a mail using Form Modules.

edited October 2017 in Modules
Hi Team,

In our project there is contact form we have implemented this using forms module . Issue is that whenever a user submits the form email notification as to be sent to submitted user and admin as well .

so we have added admin id statically and recipient mail id should be dynamic which they entered in emailId field.

How to achieve this ? . we have tried placing {emailId} in recipient fields but we are facing issue when submitting form.

Please guide me as i'm new to Fuel CMS

Comments

  • edited 6:32AM
    I would look into the "hooks" functionality which allows you to specify a separate function or class/method that can be called. That function/method gets passed parameters of the form object and posted variables and you can then send your own emails, add attachments, format message etc.
Sign In or Register to comment.