I have Drupal 6 running on windows through xampp as a localhost. When setting up Drupal, I entered my actual e-mail address (run through Comcast) since the local version obviously has none. Drupal can't e-mail from the localsite for updates using this address. How do I link the local host to my actual e-mail server?

Comments

nKeyn’s picture

edit xampp\apache\bin\php.ini

find:
SMTP = localhost

change "localhost" to your ISP SMTP

alakesh’s picture

Customize your php.ini to make reference to a outgoing server.

[mail function]
; For Win32 only.
SMTP = some.email.server.com
smtp_port = 25

Restart Apache server. Modify your mail.inc as below

<?php
function drupal_mail_send($message) {
...
    ini_set("SMTP","mail.example.com");  
    return mail(
      $message['to'],
...
      join("\n", $mimeheaders)
    );
?>

hope this may help.