extjs - Not receiving mail from php contact form -


hi have contact form in overlay panel, submit action can seen below. once submit email.php receive success php file not receive mail in inbox or spam. using gmail receive mail, php can seen below:

              items:[                 {                     xtype:'button',                     text: 'submit',                     ui: 'action-round',                     handler: function(){                      var contactuscomment = ext.getcmp('contactusform').getvalues();                   ext.ajax.request({                         url: 'email.php',                         params : contactuscomment,                         success: function(response){                             var text = response.responsetext;                             ext.msg.alert('success', text);                          }                        });               <?php $name = $_post['name'];             $email = $_post['email'];             $message = $_post['message'];             $formcontent="from: $name \n message: $message";             $recipient = "mygmailhere";             $subject = "contact form";             $mailheader = "from: $email \r\n";             mail($recipient, $subject, $formcontent, $mailheader) or die("error!");              echo "thank you!";               ?> 


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -