Skip to content

SeAT

Email Setup - Using GMail

Introduction

SeAT requires email to be setup to allow for things like notifications to be sent. This guide will attempt to describe how to go about setting up your email using GMail as an SMTP.

The config

As with anything Laravel, the config for your email setup will live in your installs .env file. To use GMail as an SMTP service, set the MAIL_DRIVER option in your .env configuration file to smtp. Next, specify the SMTP details:

1
2
3
4
5
6
7
8
9
// File: .env

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=username@gmail.com
MAIL_PASSWORD=gmailpassword
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=username@gmail.com

Done! To test, you can add some mail notification using the Integrations and Notification groups.