Content
Error with Email Setup
Added by Eisenhower Durand over 9 years ago
Just did a fresh install of OP 4.2 on Ubuntu Server 14.04.2 LTS. Install went fine except when I put in the email SMTP settings and ‘run check’ I get the following error:
[ok] MySQL configuration is working
[ok] Web server is running
[ok] openproject server is running
[ok] openproject background job worker is running
sending test email using SMTP…
/opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:969:in `check_auth_response’: 530 5.7.0 Must issue a STARTTLS command first. 8sm5635729iok.39 - gsmtp (Net::SMTPAuthenticationError)
from /opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:740:in `auth_plain’
from /opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:732:in `authenticate’
from /opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:567:in `do_start’
from /opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:520:in `start’
from /opt/openproject-ce/vendor/ruby-2.1.6/lib/ruby/2.1.0/net/smtp.rb:457:in `start’
from /opt/openproject-ce/packaging/scripts/send-test-email:34:in `
’
[ko] unable to send test email to admin@example.com
Config parameters as follows:
SMTP_AUTHENTICATION=plain
SMTP_DISABLE_STARTTLS_AUTO=true
SMTP_DOMAIN=smtp.gmail.com
SMTP_ENABLE_STARTTLS_AUTO=enable
SMTP_HOST=smtp.gmail.com
SMTP_PASSWORD=mypassword
SMTP_PORT=587
SMTP_URL=smtp://myusername%40gmail.com:mypassword@smtp.gmail.com:587/smtp.gmail.com
SMTP_USERNAME=myusername@gmail.com
I’m not sure where to begin with this. The last setup I did worked fine with no problems.
Any ideas waht could be causing this or am I missing something?