Skip to content

jaydeepnasit/Send-Emails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send-Emails

Send Email Using Xampp Local Server in PHP

send-email-min

Watch on Youtube :- https://youtu.be/nOYDOFU697g

Requirements

  • XAMPP >= 7.0
  • PHP >= 7.1

Gmail Important Settings

  • Off 2 step verification

1q

  • Allow less secure apps

2q

Configure XAMPP To Send Mail From Localhost

  • (1) Open Xampp Folder From Your Device & Go " ~\Xampp\sendmail\sendmail.ini ".

sendmailini

  • (2) Now Open sendmail.ini file & do Following Changes :-
smtp_server=smtp.gmail.com
smtp_port=587
smtp_ssl=auto
auth_username=Your_Email_ID
auth_password=Email_ID_Password

123 456

  • (3) Now Open " ~\xampp\php\php.ini " file & do Following Changes :-
sendmail_path = C:\xampp\sendmail\sendmail.exe
Comment = [mail function]

55555

  • (4) Last Restart Xampp Server.

Screenshots

(A) Home Page

Capture

(B) Email Status

Capture2