pvdvreede / support_helpdesk

Redmine plugin that polls selected inbox for emails, and generates a new issues from them.
GNU General Public License v3.0
12 stars 1 forks source link

Rake and Gmail #19

Open garberit opened 12 years ago

garberit commented 12 years ago

Hello, Great plugin! How would one be able to use the rake task with Gmail?

rake support:fetch_pop_emails host= port= username= password=

I tried:

rake support:fetch_pop_emails RAILS_ENV="production" host=pop.gmail.com port=995 ssl=1 username=XXX@gmail.com password=XXX

(and also without ssl)

Output:

rake aborted! execution expired Tasks: TOP => support:fetch_pop_emails

Should SSL be added here? https://github.com/pvdvreede/support_helpdesk/blob/master/lib/tasks/pickup_emails.rake I am afraid that I am not too familiar with the Ruby lingo.

Assistance is much appreciated!

pvdvreede commented 12 years ago

Currently SSL support is not added for the pop3 email receiver, so there is no ssl parameter as you tried. I can see that gmail requires SSL for their POP access, so currently gmail cannot be used.

I am refactoring a lot of this plugin under the refactor-plugin branch which I hope to have ready as version 2.0 in the next month or so.

I will mark this issue for that release and add in the SSL support that is required for this plugin to work with Gmail.

p-drolima commented 8 years ago

Hey mate, great plugin. I see that you probably dropped ongoing dev on this?

pvdvreede commented 8 years ago

Thanks @p-drolima ! Yeah, unfortunately I have not touched this in a very long while and have no use for it anymore. You are welcome to fork and continue development if you like?

If so let me know and I can alter the readme to point to your fork...

p-drolima commented 8 years ago

Thanks for the offer but rails is not part of my skill set :(

Good luck and thank you for your reply :)