Friday, June 18, 2021

How To Enable Mail Function In XAMPP?

 XAMPP is the all-in-one package for developers that contains the Apache web server and MySQL database. Let's see how to enable mail function in XAMPP quickly.

      How To Enable Mail Function In XAMPP



Configure The php.ini File

Step 1:
Go to My Computer, select Programs, and search for ‘php.’ You can find it inside the XAMPP installation folder.
Step 2:
You need to change a single line in your php.ini file.
Step 3:
Open the php.ini file. It will be indicated as ‘configuration settings’ in its type.
Step 4:
Right-click the file and select Edit with notepad.
Step 5:
When the file opens, press the Control and F keys simultaneously and search for the strings mentioned below and replace them with the values indicated.
Step 6:
SMTP=smtp.gmail.com
Step 7:
smtp_port=587
Step 8:
sendmail_from = YourGmailId@gmail.com
Step 9:
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"

No comments:

Post a Comment

How To Link AOL Email To Gmail?

When you link AOL email to Gmail , you can enjoy the features of Gmail in your AOL account itself. For a detailed guide, refer to the simple...