Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Persits.MailSender

Status
Not open for further replies.

jinxcat

Programmer
Aug 29, 2006
1
US
I have this bit of code which is supposed to send out an automated email response when people register at the site. However, there is one person who keeps saying they are not receiving a reply. I don't see how that's possible when everyone else is getting a reply but if someone could take a look, I'd appreciate it.

Set Mail = Server.CreateObject("Persits.MailSender")
Mail.From = "account@wwamiahec.org"
Mail.Subject = "IBAPP/MSG AHEC Continuing ED Account"
Mail.AddAddress Request("email")
Mail.AddReplyTo "lpowell@mtnstatesgroup.org"
Mail.AddBcc "lpowell@mtnstatesgroup.org"
Mail.Host = "mail.fiberpipe.net"

sMessageText = "IBAPP/MSGAHEC CONTINUING ED ACCOUNT" & vbCRLF & _
FormatDateTime(Now(), vbGeneralDate) & vbCRLF & _
vbCRLF & _
Request("fname") & " " & Request("lname") & " has requested an account for the IBAPP/MSGAHEC Continuing ED website." & vbCRLF & _
vbCRLF & _
"Username = " & userName & vbCRLF & _
"Password = " & pass & vbCRLF & _
vbCRLF & _
"Log in at & vbCRLF & _
vbCRLF & _
"Thank you." & vbCRLF & _
vbCRLF

Mail.Body = sMessageText

On Error Resume Next
Mail.Send
 
Perhaps they are not typing in their email address correctly? If it is just one person that would be the first thing I would check. Does your application trap common errors that people make with email addresses?



strebor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top