I am getting this error when trying to insert and send data from a form,
I want to be able to insert into de DB and the information in the form be sent by email, I am using recordsets.

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/empleopr/empre/busqueda_cliente/cert/tbl_clientes_detail.asp, line 149

This is my code:


''Send Form by email script
%>
<% If Trim(Request.Form("MM_insert")) <> "" Then %>
<%
Set objCDO = Server.CreateObject("CDONTS.CertMail")

objCDO.From = rsEmpresa.Fields.Item("email").Value
objCDO.To = "correo@correo.net"

objCDO.Subject = rsEmpresa.Fields.Item("email").Value & " ha llenado una Certificación de Empleo"
objCDO.Body = Trim(Request.Form("mensaje")) & vbcrlf & vbcrlf & "La certificación fue llenada por " & rsEmpresa.Fields.Item("Nombre_Empresa").Value & " " & rsEmpresa.Fields.Item("Telefono").Value

objCDO.Send
Set objCDO = Nothing
%>
<% End If %>