Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Friday, August 11, 2017 7:17:39 AM(UTC)

Rank: Newbie

Groups: Registered
Joined: 8/11/2017(UTC)
Posts: 1
United States
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
bSuccess = True
End If
End Function
#2 Posted : Friday, August 11, 2017 4:47:23 PM(UTC)

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,084

Thanks: 9 times
Was thanked: 46 time(s) in 46 post(s)
Hi, i have received your email and replied to you, please check your email.
Users browsing this topic
Forum Jump  
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.

Powered by YAF.NET | YAF.NET © 2003-2021, Yet Another Forum.NET
This page was generated in 0.182 seconds.


© All Rights Reserved, AdminSystem Software Limited.