Closed agherzan closed 6 years ago
Hi agherzan,
i tried almost every combination with the environment variables but without success. Studying the description below i found out that three ENVIRONMENT variables need to be set.
SMTP_AUTHENTICATION=login SMTP_ENABLE_STARTTLS_AUTO=true SMTP_TLS=false
But setting them took me to the "OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed" error.
In the hints there is following message "If you encounter authentication errors, ensure you have allowed less secure apps to access the account or try turning on 2-step validation and using an application password." Source: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md
Maybe you can check your Gmail Security settings? Please give me a feedback if this works for you.
Kind Regards
I will keep in mind to retest it when I reinstall it. Currently because all of the issues that I got into I dropped the idea of using this.
I added gmail configuration for SMTP but testing it from the rail console fails with: