Send e-mails
GYM One currently only supports the Google SMTP mail service!
Google SMTP
Google enable this setting
:
- Sign in to your Gmail account.
- Click the profile icon in the top right corner, then select
'Google Account'
- From the left menu, select
'Security'
. - Under the
'Login and security information'
section, select the'Application passwords'
option. - Click on the
'Create an application password'
button and follow the instructions. Give it a name (e.g.,'GYM One SMTP'
) and click'Create Password'
. Copy the password and make a note of it.
SMTP Settings
Now you can configure the Google SMTP server
in the GYM One installer or modify it in the .env
file!
MAIL_HOST= smtp.gmail.com
MAIL_PORT= 465
MAIL_USERNAME= Your Gmail address (full address)
MAIL_PASSWORD= Application password created in the previous step: For example: (haiq dcoi gyme glob)
MAIL_ENCRYPTION= SSL
Checking and testing settings
- Check that the settings are correct and save them!
- Please send a test email to another address in order to verify that the settings are correct.