- cforms version: 10.6
- Your Wordpress version: 2.8.4
[desc]:
I am trying to connect to authroize.net and send payment information in the my-functions.php file in the my_cforms_action function, although after placing that code in the function it wouldn't work. I thought it was odd and tried to troubleshoot using the @mail(…) command, turns out that didn't work either. So I tried other functions….
function my_cforms_ajax_filter($params) {
@mail('….', 'cforms my_filter_Ajax test', 'Form data array (Ajax):'.print_r($params,1), 'From: your@blog.com');
}
function my_cforms_action($params) {
@mail('….', 'cforms my_action test', 'Form data array (Ajax):'.print_r($params,1), 'From: your@blog.com');
}
function my_cforms_logic($cformsdata,$oldvalue,$setting) {
@mail('….', 'cforms my_logic test', print_r($cformsdata,1), 'From: your@email.com');
return $oldvalue;
}
None of them actually sent an email to me. Any help would be greatly appreciated.
P.S. Just a note: the email from the actual form works, just not the attempted emails from the my-functions.php file.