Skip to content

Instantly share code, notes, and snippets.

@johncarter-
Created July 22, 2020 10:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johncarter-/0a1dab6a8cb065e78d4b35a0dec2cb45 to your computer and use it in GitHub Desktop.
Save johncarter-/0a1dab6a8cb065e78d4b35a0dec2cb45 to your computer and use it in GitHub Desktop.
Googlemail Gmail SMTP for Laravel / Statamic

Google > My Account > Security > Enable 2-Step Verification

Make a new App Password: Google > My Account > Security > App passwords

MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=ACCOUNT@googlemail.com
MAIL_PASSWORD=GOOGLE_APP_PASSWORD
MAIL_ENCRYPTION=ssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment