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 Link to comment https://forums.phpfreaks.com/topic/280235-in-need-of-urgent-help/ 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('[email protected]', 'Subject Line', 'Message...', 'From: [email protected]'); ?> Link to comment https://forums.phpfreaks.com/topic/280235-in-need-of-urgent-help/#findComment-1441305 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.