I have found the best thing - there is an OCX called MSMAPI32.OCX in your average windows directory. This works really well for simple Mapi. I found some documentation in AbstractVB and changed their wording to work in Delphi. This allows simple emailing - receiving emails and checking for attachments etc. You are right it is a scary thing to get into something like Microsoft MAPI. I found this out the hard way by diving into TAPI. I have found a reference to Mapi, Sapi and Tapi - which goes quite in depth in to the subjects but is not really Delphi oriented. More VB and C++. http://developer.grup.com.tr/misc/mapi/ Steve Aish -----Original Message----- From: Max Nilson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 27 March 2001 09:23 To: Multiple recipients of list delphi Subject: RE: [DUG]: Mapi...What is the most painless way to get started. Steve Aish asked the assembled notables: > Does anyone know of a sample application or something that > shows how Delphi deals with Mapi. (I am also reasonably new > at Delphi). Yikes, your diving into a deep pool here 8-) Raw Delphi only provides access to Simple MAPI, but the JEDI (http://www.delphi-jedi.org/) provides the full MAPI headers files that you'll need. The second issue is that of documentation and the like, and that's hiding deep in the bowels of the MSDN library, some time under MAPI and some times under exchange server programming (because Outlook was originally the exchange client, and MAPI was the original exchange interface. A useful online resource is the book "MS Exchange Server Programming" by Nik Okuntseff (http://www.wrconsulting.com/Software/Publications/Exchange/Contents.htm) that has a lot of information about how you talk to exchange using the MAPI objects, and by extension any other MAPI server. The third issue is actually talking to MAPI, and that's lots of fun. The interfaces are only the start, as you have to do all sorts of mucking about creating weird memory buffers with pointers all other the place and magic constants that you pass into to MAPI. But once you grok their buffers structures it all falls into place and you can have all sorts of fun with MAPI servers. So be prepared for a learning curve, and to have to experiment around a bit, because lots of the serious MAPI techniques are either not documented, or are documented so badly as to be mostly useless. And be warned that most of the examples provided by MS are in C++ over MFC, so you will need to be aware of the translation issues. I'm prepared to answer any questions you have as much as I can, and I'm sure that other people on the list will be interested aw well. So keep posting here hopefully we can all learn something. Good luck 8-) Cheers, Max. --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"