Thank you KenMayer for your assistance.
I think I cannot successfully email.register()
That's why I get the error message : Error: OLE Unable to create object.
email = new mv_mail()
vdbpath="c:\users\home_pc\desktop\dbasetutorial"
set procedure to mv_mail.cc
//oleautoclient not yet registered or unable to to create ...
if email.errorcode = 371 or email.errorcode = 370
//? "Not registered"
success = email.register()
else
//? "Already registered!"
*success = true
success = email.register(vdbPath, true)
endif
* success = email.register(vdbPath, true)
if not success
? email.errortext // registration failed
return
endif