Redmine Issue creation not working via receive_IMAP Gmail
Added by Aravinth R over 6 years ago
I am currently trying to create issues in Redmine using email. The e-mails are read but no issue is created in redmine application.
My environment :
Redmine version : 2.3.0
Ruby version : 1.9.3
MySQL version : 5.5
Using bitnami redmine stack
Here is my rake command.
rake redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com ssl=1 port=993 username=****@gmail.com password=**** move_on_success=success move_on_failure=failed unknown_user=accept project=mail allow_override=tracker,project,priority
Here is my mail body content for issue creation
This is a new issue that overrides a few attributes [...]
Project: mail
Tracker: Bug
Priority: Normal
Status: New
Subject: Issue
I'm pretty sure the rake command works fine. Because once i execute the rake command, the mail in inbox folder is moved to failed folder. I have tried several email patterns but none of them worked.
Replies (3)
RE: Redmine Issue creation not working via receive_IMAP Gmail - Added by Stefan C about 6 years ago
I have the same problem ... no issue is created and mail is moved to "Failed". I get no error messages when I run the rake command...
RE: Redmine Issue creation not working via receive_IMAP Gmail - Added by Stefan C about 6 years ago
It seems the problem came from replying to emails received from redmine (after I've replaced subject line and body text). If I create new emails and send to redmine they get processed properly.
RE: Redmine Issue creation not working via receive_IMAP Gmail - Added by Yevhen Shevchenko over 4 years ago
Hi, we create the ticket from email, but Reply to this ticket don't work. We need that when we click to the reply button write the comment and then send it to the ticket Redmine issue as a comment (notes or quote in Redmine task interface). Please help if this solution is worked for you.