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 control Vs MAPI api

Status
Not open for further replies.

vickyyahoo

Programmer
Sep 16, 2002
3
US
Hi,

I'm just curious to know, which one is more efficient like suppose if I am using Mapi message and Mapi session control
instead of using APIs (set of APIs to send mails). I would like to know performance wise and also in terms of memory.

Thanks
Vicky
 
There will be a small overhead using the ActiveX controls but I don't think it will make a significant difference to performance or memory. You could always build both versions and test.

Note that if using the API functions you need to use the "B" functions which are largely undocumented but included in the API text viewer. The reason is that the MapiMessage structure contains pointers to arrays of recipients and file attachments and VB can't include pointers in structures. The B functions permit these arrays to be passed as separate parameters.


Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top