Skip to content

Instantly share code, notes, and snippets.

View nullvariable's full-sized avatar
☣️

Doug Cone nullvariable

☣️
View GitHub Profile
@nullvariable
nullvariable / webformmail.php
Created November 17, 2010 15:20
example webform additional processing
<?php
//http://api.lullabot.com/drupal_mail
if (isset($form_state['values']['element']) {
drupal_mail('webform', $key, $to, $language, $params, $from, $send)
drupal_mail_send();
}