Rank: Newbie
Groups: Registered
Joined: 8/11/2017(UTC)
Posts: 1
Location: Atlanta GA
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
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, i have received your email and replied to you, please check your email.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.