>>>>I have use your cusmapi class for sending emails and it has worked great. Yesterday the worst of the worst happened and they "upgraded" my system from win 2000 to XP and Office 2003. Now when the program runs and calls the class I get the error when the create session is called -loMAPISession=CREATEOBJECT("MSMAPI.MAPISession.1"). Any idea as to what change needs to be made?
>>>
>>>What error do you get?
>> The error message is 'Class Definition "MSMAPI.MAPISession.1" not found' It give you the cancel-ignore-help choice. Clicking on Help does nothing.
>
>Try
loMAPISession=CREATEOBJECT("MSMAPI.MAPISession")
Sergey,
Once again you have come through.
Thanks
Sammie