Feature #4882

Email receiving through MAPI

Added by Francois-Xavier CAUVIN over 12 years ago. Updated over 12 years ago.

Status:NewStart date:2010-02-19
Priority:NormalDue date:
Assignee:-% Done:


Category:Email receiving
Target version:-


I've tried to implement the email receiving through MS MAPI protocol, with the MS CDO library. I'm able to connect to an exchange account, and create the issue, but not to download attachments. If someone can take it over, unfortunately, I've not time to spend on this anymore.

If this is interesting someone, I have the following error if i try to download the attachment file.
OLE error code:17389 in Collaboration Data Objects
[Collaboration Data Objects - [E_FAIL(80004005)]]
HRESULT error code:0x80020009
Exception occurred.
I'm working on Windows 2003 Server, with installed CDO package from MS, on redmine 0.8.5

I've attached my modified files.

I opened this feature just to share my work. As I'm not a pure Ruby,Rails nor Microsoft developper, I can't expect to solve this myself.

Thanks for this amazing product that is Redmine.

email.rake Magnifier - in lib/tasks (5.53 KB) Francois-Xavier CAUVIN, 2010-02-19 16:31

mapi.rb Magnifier - in lib/redmine (1.25 KB) Francois-Xavier CAUVIN, 2010-02-19 16:31

mapi_mail_handler.rb Magnifier - in app/models (8.5 KB) Francois-Xavier CAUVIN, 2010-02-19 16:31


#1 Updated by Jean-Philippe Lang over 12 years ago

  • Category set to Email receiving

Also available in: Atom PDF