XAMPP

How to use sendmail (SMTP) on Windows XAMPP

XAMPP comes with sendmail, but it's not configured out of the box on Windows system. Here's how to set up sendmail with authentication for Drupal. This is useful when you have a test Druapl server locally.

  1. Configure php.ini
  2. Locate your php.ini. In my case, it was C:\XAMPP\PHP\php.ini. In the [mail function] section, edit like this.

    [mail function]
    ; For Win32 only.

XAMPP Control Panel

XAMPP Control Panel
Syndicate content