Well all my websites have a problem sending email and it seems its because I'm using IIS. This problem has existed for a long time and the only way to fix it is to add the following line to mail.inc around line 236 before "return $text":
ini_set('sendmail_from', 'email@domain.org');
I know this issue has been talked about on other threads but i don't understand why it hasn't yet been fixed in core. Everytime I make a new website with Drupal or Upgrade existing websites to a new version I have to put this line of code in to fix the problem.
Surely there is a way to fix it permanently so it works with both IIS and Apache, or even just detect which web server the site is running on and automatically add it if IIS.
Is there any plans to fix this in core or will i just have to keep adding the line in.
This really seems like a pathetic bug considering how robust Drupal is, I'm surprised it hast been permanently fixed yet.
Comments
Comment #2
peter panes commentedAn update on this problem, I've just installed Drupal 6.19 and the problem sending emails appears to have gone.
If someone has fixed it... thanks.