What are the setting if I want to send an email to someone who forgot their password. My server receives the request to process but then denies because it comes from "nobody" and my Sendmail server requires "auth".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
www.php.net/mail is the documentation, you have to set the "from" header within the mail-function like this:
mail('to','subject','message','FROM:yourname@yourdomain.com')
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-06-06
When procmail is disabled php will send mail. The error logs say:sendmail[18609]: g562n2n0018606: SYSERR(nobody): openmailer: insufficient privileges to change gid. I must have permissions screwed up but don't know which ones.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What are the setting if I want to send an email to someone who forgot their password. My server receives the request to process but then denies because it comes from "nobody" and my Sendmail server requires "auth".
www.php.net/mail is the documentation, you have to set the "from" header within the mail-function like this:
mail('to','subject','message','FROM:yourname@yourdomain.com')
When procmail is disabled php will send mail. The error logs say:sendmail[18609]: g562n2n0018606: SYSERR(nobody): openmailer: insufficient privileges to change gid. I must have permissions screwed up but don't know which ones.