×
ecommercecms.org

Laravel Ecommerce CMS How to make your emails go through gmail smtp

No comments

This is a short descriptions how to use gmail smtp to laravel Ecommercecms

0) CREATE A NEW GMAIL ACCOUNT NOT USE YOUR PERSONAL(MEAN DAY BY DAY)

1) Login to your Gmail account using the web browser.

2) Go to https://www.google.com/settings/security/lesssecureapps and Turn On this feature.

3) Go to https://accounts.google.com/DisplayUnlockCaptcha and click Continue (enable applications to access your account).

4) Now try again to send the email from your PHP script. It should work.
5) Check your gmail MAIL, you will get an email like 
confirm that wa you
 
 
7)  Go to your email esttings and enter the data like
 
SMTP Host Address : smtp.gmail.com
SMTP Host Port : 587
E-Mail Encryption Protocol: tls
SMTP user: your gmail account
SMTP password: your gmail account password