Dynamically Trigger a mail using Form 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
  • 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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!