Edgar,
Is this line:
>oNewMail = CREATEOBJECT("CDONTS.NewMail")
line #59 in you method? If not please identify the exact line throwing the error.
Are you sure you don't mean to be using CDO.Message? reference this Wiki article
http://fox.wikis.com/wc.dll?Wiki~CdoEmail>This code is for send an email through CDONTS, but i'm receiving the next message error:
>
>
>RECNO()
>Error: 1426
>OLE error code 0x80040154: Class not registered
>Method: cmdadd.click
>line 59