alash3al/smtp2http

Empty response

vibraterton opened this issue · 1 comments

I send "test mail" via thunderbird but $_POST and $_GET response is empty. Why?

I guess you are receiving the hook on a PHP script, so use :

$json = file_get_contents('php://input');
$data = json_decode($json, true);

Regards,