
To do that, log in to Gmail and select "Manage your Google Account" from the profile (cog) option.

Now that the email configuration has been updated, we need to configure some security settings in our Gmail account. We'll be using the Laravel Installer in this tutorial by running the following command in the terminal: You can create a new Laravel application via Composer or install the Laravel Installer as a global Composer dependency. That said, it's important to know that Google imposes some limitations on free accounts, e.g., a maximum of 100 emails can be sent per day.
#Configure live mail for gmail how to
However, in this tutorial, you'll learn how to configure Laravel to send emails using Gmail's SMTP server instead. You could also use one of the many email drivers which Laravel supports, including Mailgun, Amazon SES, and Postmark, and of course, Twilio's own SendGrid. In such scenarios, using a dedicated email library, such as Symfony's Mailer component, can be a practical alternative. In certain circumstances, your local server may not send emails when using the default PHP mail() method, or it may make it quite problematic to do so. To follow this tutorial you need the following: So in this tutorial, you will learn how to send emails in Laravel using a Gmail SMTP server.

For example, they are a great way to communicate with users, when they register, when verifying registrations, and when resetting passwords. Sending email has become an essential part of modern web applications.
