Top Menu

Jump to content
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    Home
    • 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

      OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. Email Notification not working

Email Notification not working

Added by Solomon Pea almost 3 years ago

I setup an OP 12.2 with docker installation, OP URL is http://localhost:8080.

However, I cannot make "Email notifications" to work. Below is my configuration.

Emission email address: myaccount@gmail.com

Email delivery method: smtp

SMTP server: smtp.gmail.com

SMTP port: 587

SMTP HELP domain: smtp.gmail.com

SMTP authentication: login

SMTP username: myaccount@gmail.com

SMTP password: mypassword

Automatically use STARTTLS if available: true

Use SSL connection: fale

I got "An error occurred while sending mail (535-5.7.8 Username and Password not accepted. Learn more at )".

Can anyone help?


Replies (4)

RE: Email Notification not working - Added by Adam Szabo almost 3 years ago

Hi Solomon

in my docker-compose yml it looks like this and it works:

(...)
x-op-app: &app
  <<: *image
  <<: *restart_policy
  environment:
    RAILS_CACHE_STORE: "memcache"
    OPENPROJECT_CACHE__MEMCACHE__SERVER: "cache:11211"
    OPENPROJECT_RAILS__RELATIVE__URL__ROOT: "${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}"
    DATABASE_URL: "${DATABASE_URL:-postgres://postgres:HIDDEN@db/openproject?pool=20&encoding=unicode&reconnect=true}"
    RAILS_MIN_THREADS: 4
    RAILS_MAX_THREADS: 16
    # set to true to enable the email receiving feature. See ./docker/cron for more options
    IMAP_ENABLED: 'true'
    IMAP_SSL: 'true'
    IMAP_PORT: 993
    IMAP_HOST: 'imap.gmail.com'
    IMAP_USERNAME: 'openproject'
    IMAP_PASSWORD: 'HIDDEN'
    IMAP_CHECK_INTERVAL: 600
    IMAP_ALLOW_OVERRIDE: type,status,priority,fixed_version
(...)

RE: RE: Email Notification not working - Added by Adam Szabo almost 3 years ago

Additionally do not forget to create an APP PASSWORD for your gmail account that you would like to use for the IMAP

https://support.google.com/accounts/answer/185833?hl=en

RE: Email Notification not working - Added by Solomon Pea almost 3 years ago

Thank you.

I managed to make it work with APP password setup in gmail account.

RE: Email Notification not working - Added by Adam Szabo almost 3 years ago

Thank you for your feedback and you are very welcome

  • (1 - 4/4)
Loading...