>Yes i know but they use COM objects and I need to use it through api functions.
>
>Can you help me out please
The article
INFO: Updated Mapivb32.bas for Simple MAPI on 32-Bit Platforms mskb#
Q163216 shows how it can be done in VB. It shoudn't be hard to convert to VFP code.
--sb--