Hello!
I got a problem with the mail() function.
I set up a LAMP Server at home and I want to use the mail() function there, but it doesn´t work.
Some Info:
PHP Version is 4.2.3
sendmail_from: me@localhost.com
sendmail_path: /usr/sbin/sendmail -t -i
I use the following script for testing:
mail("m3ikl@e30team.de","Subject mail test","mailing via php works","From: [email]m3ikl@e30team.de[/email]");
I don´t get a parse or other PHP error, I don´t get an error in the apache log and I neither get a mail in the sendmail queue nor the mail gets delivered (mail is not logged in /var/log/mail).
BTW: sendmail works, I can send mails with pine.
Can anybody help with this weird problem?
Thanx in advance!
M3ikl