Hey,
I'm trying to send out an automated mail from a php script. I know it's possible, but the problem is I don't know how. From reading various threads, I come up with the using the mail() function.
So I set various variables $mail_to, $subject, $message, $headers and pass them to the mail function.
It doesn't work...
even if I do as suggested in a related link:
echo "returned value is: "; echo mail('myEmail@domain.edu','ping','pong');
Output is:
returned value is:
I'm thinking my problem is my sendmail is not set up correctly. My server is on gentoo linux. Can someone help me with this?
Jaelan