🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Email server set up for Laravel App

When do we need this Configuration?

Ans- When we have to Configure Gmail SMTP Server in Laravel Application

Our .env file looks like this after Configuration:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=ENTER_YOUR_EMAIL_ADDRESS(GMAIL)
MAIL_PASSWORD=ENTER_YOUR_GMAIL_PASSWORD
MAIL_ENCRYPTION=tls
  • Since we are using Gmail SMTP, we need to change some security settings on our Google account, to give access to less secured applications and we need to generate App password and mention it to .env file as MAIL_PASSWORD of Laravel app

Steps

1.Login to your Google Email Account and click on Google Account Button. This button is display when you click on the profile picture in your Gmail Dashboard as shown.

alt text

2.Create & use App Passwords

  • Go to your Google Account.
  • On the left navigation panel, choose Security.
  • On the "Signing in to Google" panel, choose App Passwords. ...
  • At the bottom, choose Select app and choose the app you're using.
  • Choose Select device and choose the device you're using.
  • Choose Generate.
  • Follow the instructions to enter the App Password. The App Password is the 16-character code in the yellow bar on your device. Choose Done. alt text

Most of the time, you’ll only have to enter an App Password once per app or device, so don’t worry about memorizing it.


Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.