I am installing EASendEmail on a Windows Server 2012 server and want to use it to send DKIM signed emails from within classic asp forms.
Can anyone show me how to modify the following code to work with EASendMail?
Function sendASPEMail(fromName, fromAddr, toName, toAddr, subject, strEmailBody, hdrName, hdrValue, strResponse)
	' establish connection
	Set Mail = Server.CreateObject("??????????")
	Mail.Host = "smtp.tpxcnex.com" 
	Mail.Port = 25 
	Mail.Username = "postmaster@tpxcnex.com"
	Mail.Password = "********"
	' populate variables
    Mail.Subject = subject
    Mail.From = fromAddr
    Mail.FromName = fromName
    Mail.AddAddress toAddr, toName
    Mail.AddCustomHeader "Precedence: bulk"
    Mail.Body = strEmailBody
	Mail.IsHTML = True
	Mail.ContentTransferEncoding = "Quoted-Printable" ' Required
	' open signer certificate
	' X509Certificate2 Cert = new X509Certificate2(Server.MapPath("C:\Users\usr050198\Desktop\12345DKIMCert.cer"), "test" );
	' check for errors. if none send email
	strErr = ""
   	bSuccess = False
   	On Error Resume Next ' catch errors
   	If Err <> 0 Then ' error occurred
      	strErr = Err.Description
   	Else
      	bSuccess = True
	   	Mail.Send
   	End If
End Function