I have a software that use Rdo Redemption class to create an email in draft folder and then send the email.
It works fine for 99% of client machine. But only a few clients that have "Google App sync" in their Outlook. They experience the exception when REGDB_E_CLASSNOTREG error when call RdoMail.Send().
I can see an email is created successfully in draft folder. But cannot send out and got this class not register exception.
Here is my sample codes (following from http://www.dimastr.com sample):
set Session = CreateObject("Redemption.RDOSession")
Session.Logon
set Drafts = Session.GetDefaultFolder(olFolderDrafts)
set Msg = Drafts.Items.Add
set Account = Session.Accounts("Google App - peter.pan@...&quo t;)
Msg.Account = Account
Msg.To = "user@..."
Msg.Recipients.ResolveAll
Msg.Subject = "test"
Msg.Body = "Test body"
Msg.Save
' Have REGDB_E_CLASSNOTREG error when call Send()
Msg.Send
Notes: I tried to register Redemption.dll and Redemption64.dll but no luck.
The name of function fail is RDOMail.Send() (define in http://www.dimastr.com/redemption/RDOMail.htm)
Does anyone experience similar issue before ? Any solution for that issue (it seem only related to client machine that have Google App sync with MAPI) ? How can I found out each COM class not registered ?
Thanks !