By David Orr on
I have suddenly begun to get the following error message in the logs when adding a new user, using the contact form and using the email features of advuser:
mail() [function.mail]: Could not execute mail delivery program '/usr/sbin/sendmail -t -i' in /DRUPALROOT/modules/user.module on line 409.
The strange thing is that every now and then in testing it has worked and then immediately failed again. I have also restarted sendmail, but this has not helped. Using mail on the shell command line works fine.
I really hope someone has been here before and can advise!
Comments
Resolved
The error lay in a php.ini amendment. Corrected the error and restarted apache - all is well.
Apologies - posted in the wrong place ... new member ...
getting the same error
hi david,
i am getting the very same error intermittently at times while sending newsletters.
could you share the amendment you made to rectify this?
thanks in advance,
reggie
Hi, I seem to be having the
Hi,
I seem to be having the same problem. 90% of the time emails are sent fine, but then I get that error message the other 10% of the time:
warning: mail() [function.mail]: Could not execute mail delivery program '/usr/sbin/sendmail -t -i'
Note that this is just for sending one email at a time - I'm not sending a large batch of newsletters or anything like that.
Could you share your experience on how to fix this problem?
Thanks.