jmisavage / craft-mandrillform

Craft contact form plugin that uses Mandrill for sending emails
MIT License
6 stars 1 forks source link

Implementation Questions #1

Open ottercreate opened 10 years ago

ottercreate commented 10 years ago

Nice plugin for Craft, thanks. Just have a couple of quick questions... where do I edit which fields trigger error responses? And where do I edit which fields will appear in the email that is sent by the form?

jmisavage commented 10 years ago

The validation rules are controlled in the Model (craft-mandrillform / mandrillform / models / MandrillFormModel.php) and the Controller (craft-mandrillform / mandrillform / controllers / MandrillFormController.php) builds the message.

You may want to give Pixel and Tonic's ContactForm plugin a look too. Mandrill has standard SMTP settings that I totally overlooked when I made this plugin.