🔥 Featured Topic
C Language All Programs
by
mi1an
-
C Language All Programs
- Get link
- X
- Other Apps
Popular Posts
Design resources for developers
by
mi1an
-
Document Table of Contents UI Graphics Fonts Colors Icons Logos Favicons Icon Fonts Stock Photos Stock Videos Stock Music & Sound Effects Vectors & Clipart Product & Image Mockups HTML & CSS Templates CSS Frameworks CSS Methodologies CSS Animations Javascript Animations UI Components & Kits React UI Libraries Vue UI Libraries Angular UI Libraries Svelte UI Libraries R...
How to send mail from localhost XAMPP using PHP
by
mi1an
-
To send mail from localhost XAMPP using Gmail, configure XAMPP after installing it. Follow the below steps for the same. Steps to Send Mail From Localhost XAMPP Using Gmail: Open XAMPP Installation Directory. Go to C:\xampp\php and open the php.ini file. Find [mail function] by pressing ctrl + f. Search and pass the following values: SMTP= smtp.gmail.com smtp_port= 587 sendmail_from = yourgmail@gmail.com sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t" Now, go to C:\xampp\sendmai l and open the sendmail.ini file. Find [sendmail] by pressing Ctrl + F. Search and pass the following values smtp_server=smtp.gmail.com smtp_port=587 or 25 //use any of them error_logfile=error.log debug_logfile=debug.log auth_username=yourgmailid@gmail.com auth_password=your-gmail-password force_sender=yourgmailid@gmail.com(optional) Here is the actual code that you have to write Script To Send Mail: <?php $to_email = "receipient@gmail.com"; $subject = "Simple Emai...
MS Access Data Type
by
mi1an
-
Comments
Post a Comment