php email now works

Finally got the php email working through ajax call.