Hi all.
I’m new to the forum and novice to PHP. I’m facing a strange problem… at least strange to me
I’m trying to make a contact form which is working perfectly but the message won’t be delivered if the recipient is an email alias and not a real address.
Do you think the problem is about my script or the server configuration?
Thanx in advance
[php]
<?php $ip = $_POST['ip']; $httpref = $_POST['httpref']; $httpagent = $_POST['httpagent']; $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $email = $_POST['email']; $phone = $_POST['phone']; $thesubject = $_POST['thesubject']; $themessage = $_POST['themessage']; $todayis = date("l, F j, Y, G:i a") ; $subject = "Contact Form"; $message = "Firstname | $firstname |
Lastname | $lastname |
Phone number | $phone |
Subject | $thesubject |
Message | $themessage |
Timestamp | $todayis |
Senders IP address | $ip |
[/php]