[go: nahoru, domu]

Open Bug 368691 Opened 18 years ago Updated 2 years ago

MAPIReadMail() does not return recipients

Categories

(MailNews Core :: Simple MAPI, defect)

x86
Windows XP
defect

Tracking

(Not tracked)

People

(Reporter: Franke, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1

The recipient list (To:, CC:) returned MAPIReadMail() is always empty.

Reproducible: Always

Steps to Reproduce:
1. Open MAPI session with MAPILogon().
2. Call MAPIReadMail(hSession, hWnd, msgid, any_flags, 0, &pMsg) for some existing msgid.
3. Examine returned message structure.

Actual Results:  
No recipients returned.
pMsg->nRecipCount is 0, pMsg->lpRecips points to uninitialized memory.


Expected Results:  
Recipients should be returned.


Unlike attachments (Bug 321105), code to fill recipient list is already in GetMessage():
http://lxr.mozilla.org/seamonkey/source/mailnews/mapi/mapihook/src/msgMapiImp.cpp#649

Regression?
Product: Core → MailNews Core
Christian "no longer do any development using MAPI".

The only changes to msgMapiImp since 2007-01-30 are string and API changes, so I'm confirming this problem still exists.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Franck want to take a stab at fixing simple mapi ?
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.