davazno1 Posted July 17, 2013 Share Posted July 17, 2013 Hello to all , i am new to this and i am in need of help wit a contact form . The problem is that i receive the message , the users name but no email , i have no ideea who is the sender so i cannot reply . The problem appeared when i tested the cursed contact form . i wouldnt receive the email which was being sent nontheless .It gave me the following error "SMTP error from remote mail server after end of data: host smtp-out-02.whmpanels.com [89.42.222.105]: 550 Messages should have one or no To headers, not 2." I edited contact-send.php , now i received email but no email adress of the sender . I spent hours trying to solve it , so please help . I give you the initial php file and the second , modified by me . New Text Document.txtcontact send.txt Quote Link to comment Share on other sites More sharing options...
The Letter E Posted July 18, 2013 Share Posted July 18, 2013 Are you using the From: header? <?php mail('sendto@domain.com', 'Subject Line', 'Message...', 'From: sentfrom@domain.com'); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.