Configure echoCTF.RED to use Google Mail¶
In order to configure echoCTF.RED to use a GMail account for sending emails you first have to configure the GMail account.
- Go to https://myaccount.google.com/
- Enable 2-step verification
- Go to https://myaccount.google.com/apppasswords (NOTE: this do not work without 2-step verification)
- Create an application ie
myplatform - Copy the generated app password, it will look something like
blah blah blah blah - Go to your echoCTF backend Settings => Configure
- Scroll to the Mail Setting section and add something like the following
gmail+smtp://YOUR_GOOGLE_MAIL:APP_PASSWORD@default?local_domain=YOUR_DOMAIN&verify_peer=0 - Replace
YOUR_GOOGLE_MAILwith your gmail egblah.blah@gmail.com - Replace
APP_PASSWORDwith the application password you copied from step 5 but without spaces in between egblahblahblahblah - Replace
YOUR_DOMAINwith your platform frontend domain egctf.blah.io - Press Save
- Execute
composer require symfony/google-mailerfrom yourfrontendandbackendsystem folders