Hi Simon,
There's improved error handler code for MapiMail class in
Re: MAPI with Attachments Message #
814399 that should provide actual OLE error message and help with troubleshooting.
>Hi Sergey
>
>
>lo=CreateObject("cusMAPI")
>? lo.sendmail("","","test@test.com","test","test","c:\test\test.jpg",.N.,.Y.,.N.)
>
--sb--