Same name and namespace in other branches
  1. 6.x-1.x email_example/email_example.module \email_example_form_submit()

Form submission logic for the contact form.

Related topics

File

email_example/email_example.module, line 207
Example of how to use Drupal's mail API.

Code

function email_example_form_submit($form, &$form_state) {
  email_example_mail_send($form_state['values']);
}