Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAPI SendMail - How do you get a delivery receipt?

Status
Not open for further replies.

Ruppie

Programmer
Sep 14, 2003
8
GB
Using MAPISendMail32 through VBA to send emails from access.
For the message flags parameter you get a choice of:
MAPI_RECEIPT_REQUESTED
MAPI_SENT
MAPI_UNREAD

Using 'MAPI_RECEIPT_REQUESTED' I get a email back when the message is read, but I want to get one for delivery instead.
I've searched Google, MSDN and KB but not even a sniff.

Any ideas ? or is it just not a supported function of Simple MAPI ?
 
Ruppie,

the MailItem has a property OriginatorDeliveryReportRequested. If you set it equal to True then you ´ll have what you want
Code:
MailItem.OriginatorDeliveryReportRequested = True
 

Thanks JerryKlmns.

Although I was hoping to continue using simple MAPI rather than change to creating outlook objects but I don't think i have a choice.

Rupert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top