Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Error with Email Setup

Error with Email Setup

Added by Eisenhower Durand almost 10 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?


Loading...