How to setup XAMPP to send mails

Опубликовано: 18 Март 2026
на канале: CodeWrapper Studio
233
5

SETTING XAMPP TO SEDN EMAIL VIA GMAIL
step 01
open php.ini file
change following properties
1. SMTP=smtp.gmail.com
2. smtp_port=587
3. sendmail_from = your [email protected]
4. sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
step 02
Goto your gmail and move to security options

step 03
open sendemail.ini (C:\xampp\sendmail\sendemail.ini)

Remove existing commands and add following value.

[sendmail]

smtp_server=smtp.gmail.com
smtp_port=587
error_logfile=error.log
debug_logfile=debug.log
[email protected]
auth_password=lbso pbhp myhi hfsn
[email protected]