I use this jquery-ajax script to send email:
$.ajax({ url: process.php, type: \"POST\", data: data, cache: fa
I've solved using the code provided by RRikesh but replacing
data: data
with
data: data + '&action=sendmail'