XAMPP is specially for developers to build a local web server that is specially used for testing and deployment purposes. XAMPP is termed as cross-platform(X), Apache(A), MariaDB(M), PHP(P) and Perl(P).
Firstly, after installing it is required to configure XAMPP for sending Mail from Localhost XAMPP using Gmail.
Steps to Send Mail from Localhost XAMPP Using Gmail
Go and open the XAMPP installation directory.
Move to C:\xampp\php and open the php.ini file.
Press ctrl+f and identify [mail function].
You need to search and pass values.
Then, move to C:\xampp\sendmail.
Open sendmail.ini file.
Press ctrl+f to find [sendmail].
At last, you again need to search and pass values.
That’s it!
For more information, visit: https://meetanshi.com/blog/send-mail-from-localhost-xampp-using-gmail/
No comments:
Write comments