I am running php on a linux system with an apache server, and sendmail.
When I try to use the mail function to send email it is never delivered. Yes, sendmail is running properly I can send email through other email programs.
I get the following message in sendmail logs for the emails i try to send using "mail":
Nov 25 22:40:50 ns sendmail[9043]: fAS3eoW09041: to=<addressee@domain.com>, ctladdr=web (501/501), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30115, relay=mx.mail.domain.net. [207.1.1.1], dsn=5.1.1, stat=User unknown
Nov 25 22:40:50 ns sendmail[9043]: fAS3eoW09041: fAS3eoV09043: DSN: User unknown
But like I said can send email to the address without any problems if I use another email program.
Any suggestions on how I can fix this? Thanks for any help!