1 email_example.module | email_example_form_submit($form, &$form_state) |
Form submission logic for the contact form.
Related topics
File
- modules/
examples/ email_example/ email_example.module, line 207 - Example of how to use Backdrop's mail API.
Code
function email_example_form_submit($form, &$form_state) {
email_example_mail_send($form_state['values']);
}