Project

General

Profile

Issue Creation using email : IMAP

Added by Joel Almeida over 5 years ago

Hello all,

I have set up a redmine instance for testing, and eventually deciding either it's worth it or not to implement in our company.

Currently I am trying to "enable" issue creation via email (IMAP)

This is the rake command I am trying (for now manually):

rake -f /usr/src/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=imapxxx port=xxx ssl=true folder=redmine_test allow_override=all move_on_success=redmine_success move_on_failure=redmine_failure username= password=xxx project=email_test --trace

When i Run it i get the output:

  • Invoke redmine:email:receive_imap (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute redmine:email:receive_imap

The new emails from folder redmine_test are successfully read but always sent to redmine_failure (move_on_failure=redmine_failure)

This is the email i am sending:

FROM:
SUBJECT: test email task creation

BODY:
subject: test email task creation
description: test task created from email
priority: normal
project: email_test
tracker: feature
author: Joel Almeida
status: New

user has access to the project and a role with full permissions

In the production.log I don't even see an entry when I run the rake.
I am not able to find what is the error causing it to fail.

Please HALP

Thanks in advance