As spam has been increasing and increasing so too have spam filters on client emails. I find that website emails are getting blocked more and more. Which is a real problem for password recovery and that sort of thing.
I currently use Persist ASPEmail component for my emailing needs
I was wonder how can i minimise this?
Do you have an example code that can authenticate these emails as close to a real email as possible. Or measure to pass the majority of spam filters criteria?
Thanks in advance
Here is a typical code i would use
' send email
BodyText = "Password Recovery" & VbCrLf & VbCrLf
BodyText = BodyText & "Dear " & objRS("ContactName") & ", "& VbCrLf
BodyText = BodyText & "You have requested your Username & Password to be sent to you via email. Your details are as follows: " & VbCrLf & VbCrLf
BodyText = BodyText & "Username: " & objRS("Username") & VbCrLf
BodyText = BodyText & "Password: " & objRS("Password") & VbCrLf & VbCrLf
BodyText = BodyText & "Regards, "& VbCrLf & "Administration" & VbCrLf
set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = Request.ServerVariables("LOCAL_ADDR")
Mail.From = "firstname.lastname@example.org
Mail.FromName = "My Company
Mail.Subject = "Password Recovery"
Mail.Body = BodyText
set Mail = Nothing