Greetings, all -
Curious to know if someone wouldn't mind taking a look at this code and letting me know if there are any apparent errors that may cause this problem:
I attempted sending the message to one of my two 1and1 email accounts and after some delay, it sent it to 1and1 account B but not 1and1 account A. My gmail account, however, gets them every time. I'd like to just say it's some issue with 1and1 but since it successfully got through to the one 1and1 account I'm not comfortable stopping at that. I should also mention that for some reason, as I'm trying it today, the successful 1and1 account will no longer receive the messages... I've tried it with directly copying the php mail code from 1and1's FAQ, though, and it seemed to work for the 1and1 account that was previously succcessful (acct B) but not acct A.
Very stuck...
Thanks
$from = $_REQUEST['email'];
$subject = $_REQUEST['subject'];
$message = $_REQUEST['question'];
mail("
[email protected]", "Subject: $subject", $message, "From: $from");
echo "Mail sent";
1and1 FAQ with mail code:
http://faq.1and1.com/scripting_languages_supported/php_mail_explained/2.html