From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30632 Path: main.gmane.org!not-for-mail From: Roman Belenov Newsgroups: gmane.emacs.gnus.general Subject: MAPI backend (was: Offtopic: Forwarding in MS Outlook) Date: 03 May 2000 22:16:15 +0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035167141 9514 80.91.224.250 (21 Oct 2002 02:25:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:25:41 +0000 (UTC) Cc: ntemacs-users@cs.washington.edu, ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 069E4D0523 for ; Wed, 3 May 2000 14:19:47 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB12292; Wed, 3 May 2000 13:19:44 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 03 May 2000 13:18:55 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA11572 for ; Wed, 3 May 2000 13:18:33 -0500 (CDT) Original-Received: from host.nstl.nnov.ru (host.nstl.nnov.ru [195.98.59.131]) by mailhost.sclp.com (Postfix) with ESMTP id 1D096D0523 for ; Wed, 3 May 2000 14:17:27 -0400 (EDT) Original-Received: from bsd.nstl.nnov.ru (bsd.nstl.nnov.ru [195.98.49.2]) by host.nstl.nnov.ru (8.9.3/8.9.3) with ESMTP id WAA26697; Wed, 3 May 2000 22:16:11 +0400 (MSD) (envelope-from roman@nstl.nnov.ru) Original-Received: from hermes.nstl.nnov.ru (intel.nstl.nnov.ru [195.98.58.3]) by bsd.nstl.nnov.ru (8.9.3/8.9.3) with ESMTP id WAA68851; Wed, 3 May 2000 22:18:51 +0400 (MSD) (envelope-from roman@nstl.nnov.ru) Original-Received: from LIGHTHOUSE (nc034.nstl.nnov.ru [195.98.58.34]) by hermes.nstl.nnov.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id HH7K13YX; Wed, 3 May 2000 22:12:25 +0400 Original-To: Andrew Innes In-Reply-To: Andrew Innes's message of "28 Apr 2000 13:04:50 +0100" Original-Lines: 51 User-Agent: Gnus/5.0806 (Gnus v5.8.6) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30632 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30632 --=-=-= If anybody is interested in writing MAPI-based mail fetcher, here is a program I made for personal usage from PMSEU utility (http://www.genusa.com/utils/pmseu.htm). It is written in Visual Basic (it was first time I've done something with this dialect - never used Basic since my schooldays :-). All parameters are hardwired; some command line/config file parsing should make this utility quite usable. The original program seems to be in public domain (although I'm not a lawyer); I don't claim any rights on my code too. Anyway IMHO it should be rewritten in C++ (should not be too hard since COM interfaces are almost the same) and given proper interface (like GNUish command-line parsing), so it can be made decent part of Emacs; I don't sure I'll do it myself (the "get a disclaimer from your employer if relevant" part seems to be the hardest - there were no precedents in the company I'm working for and it seems that procedure will be quite complicated). --=-=-= Andrew Innes writes: > A better solution would be to write a variant of movemail.exe that uses > MAPI to get mail directly from the Exchange server. When I first > started at my current job last summer, I thought I would have to do > this, but then found out the POP3 service was actually installed and it > was a DNS problem stopping me from seeing it. So I never got as far as > writing this program, although a month before that there was some > discussion about it. The mail is archived here: > > http://www.egroups.com/messagesearch/ntemacs-users?query=mapi > > But if you are willing to work on it (necessity and all that), then I > can offer some help. Even though I have POP access to Exchange, I would > actually prefer to have direct MAPI access, because the POP service > seems to take it upon itself to reformat messages, wrapping long lines > and omitting some "inline" attachments, and generally doing things that > irritate me. > > We could also provide the sending part of the MAPI solution, and make > the whole thing part of Emacs proper, if you are willing to assign > copyright to the FSF (and get a disclaimer from your employer if > relevant). > > AndrewI > > -- With regards, Roman. --=-=-=--