Hi,
I'm trying to send mail to myself through a feedback form. Basically the user enters their comments (on how bad my site is :-) and I get it e-mailed.
I used the following command:
if(!mail("sridhar@coolmail.net", "Hey, some geek want to comment on your page!", "This is the message. This is a test and only a test. Good bye\n")) {
print "AAAHHHH! The mail did not go through!";
}
and well, guess what? it didn't work.
any ideas why?
I'm running this script in a server at home connected to a dialup-network. My email address is correct. Well, I can't think of anything that is wrong.
any yes, I DID check my e-mail. I did not get a mail from this program..
any suggestions are welcomed,
-sridhar