receiving emails through Gmail and Rake
Added by Steve Smith almost 8 years ago
Hi,
I am New to Redmine, Ubuntu and Rake!! Not a good start.
I am using a Bitnami image and have setup the outgoing email without any issues, however, I would like to receive emails and convert them to issues for the appropriate project.
I am clearly missing something when I use rake. I am trying to run this just from the command prompt to make sure that it works before creating a Cron job.
Are these the correct steps
create a file called rakefile within the file I have the following command
rake -f redmine:email:receive_imap RAILS_ENV="production" host=imap.gmail.com username=xxxxxx@gmail.com password=xxx
so When I run the rake command I get the following syntax error, unexpected tconstant, expecting end of input it then highlights the error Rails_ENV^=
I have spent a lot of time googling and reading and it seems to be a common theme, but I cannot get my head around this issue, even if I cut and paste a working command line even the help page on Redmine and run it still fails. Any pointers I have attached the screen shot of the errors.
regards
Steve