The answer depends on whether your server is linux or windows. There are PHP specific settings in the php.ini file that control this behavior. The linux ones rely on a properly installed and configured sendmail, the windows ones just require you to provide the server that you're sending mail to.
Here's what the php.ini settings look like.
[mail function] ; For Win32 only. SMTP = localhost
; For Win32 only. sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Liktor Tibor Sent: Thursday, June 29, 2006 7:44 AM To: support@drupal.org Subject: [support] mailing error in general
Hi all,
I experienced funny things on my newly installed site: Drupal can't send emails, like I can't send newsletters with Simplenews, and I assume that the contact forms also don't work.
This server uses PHP 4.4.1 which I wouldn't touch due to various reasons.
My question is: what PHP configuration Drupal needs exactly to send mails?
It is quite important for me, so any help will be more that appreciated.
Best regards, Tibor -- [ Drupal support list | http://lists.drupal.org/ ]