|
|
|
@ -6,10 +6,10 @@ $options = array(
|
|
|
|
'header' => "Content-type: application/json\r\n",
|
|
|
|
'header' => "Content-type: application/json\r\n",
|
|
|
|
'method' => 'POST',
|
|
|
|
'method' => 'POST',
|
|
|
|
'content' => '{
|
|
|
|
'content' => '{
|
|
|
|
"from": "matt.huntington@gmail.com",
|
|
|
|
"from": "'.$_POST['email'].'",
|
|
|
|
"to": "matt.huntington@gmail.com",
|
|
|
|
"to": "matt.huntington@gmail.com",
|
|
|
|
"subject": "ajax!",
|
|
|
|
"subject": "New emissary-talent.com message from '.$_POST['name'].'",
|
|
|
|
"html": "please please please please please please"
|
|
|
|
"html": "'.$_POST['message'].'"
|
|
|
|
}'
|
|
|
|
}'
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|