Changed ajax post to localhost/sendmail