Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By olad234 on
Can anyone tell me how to setup email on drupal
Error message --------- ( warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\silverbirdnews\modules\user.module on line 430. )
Comments
Windows PHP SMTP setup
you need to have a mail server running on port 25 on localhost for your current config to work.
either install a mail server locally (I wouldn't know what to recommend for Windows though)
or
edit your php.ini file to use your ISPs (or some other) mail server.
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
php.ini external email server authentication parameters
I researched the documentation at php.net on how to setup an external ISP server in the php.ini file, however, there don't seem to be parameters for setting the credentials (uid/pwd) for an ISP provided SMTP service that requires authentication.
Windows SMTP server
Mercury's one I've been using since it was a Novell module (1989?), then DOS, then Win3.1 . . .
Not open source but free, (I think they charge for proper docs, but I've never needed them)
XAMPP (highly recommended) includes it in the package.