ASP form email not working

wotech

Perch
I just got notice from a client that their contact form on their website no longer sends an email when someone uses it. This form uses CDOSYS to generate the email. As you can see below, it uses the client's Jodohost mail server with SMTP authentication. This was working fine for quite a while and just stopped working without any changes to code or the website. Also, this same code is used on many other websites of mine without issue.


Code:
set cdoMessage = Server.CreateObject("CDO.Message")
       set cdoConfig = Server.CreateObject("CDO.Configuration")
       cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
       cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.xxxx.com"
		cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
		cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") ="xxxxx"
		cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="xxxxx"
       set cdoMessage.Configuration = cdoConfig
       cdoMessage.From =  "customer.support@xxxxx"
       cdoMessage.ReplyTo = request.form("email")
       cdoMessage.To = "customer.support@xxxxx"
       cdoMessage.Subject = "SMI contact form"
       cdoMessage.HtmlBody = body
       cdoMessage.Send

I also submitted a ticket regarding this- INU-80341-506

I was reading on the forums for others with similar issues, but none seemed to fit my situation.
 
I will give it a checkup but I edited out that code it had some sensitive data in it....
 
yikes, thanks. I meant to clear that stuff out. Not really the end of the world though, as that user/password is not used for anything currently.

Thanks.
 
yikes, thanks. I meant to clear that stuff out. Not really the end of the world though, as that user/password is not used for anything currently.

Thanks.

It was only there a few minutes doubt anyone caught it, main issue would have been if a spammer picked it up bad for you and us :)
 
yea, I'll create a new email address and password after we get this resolved so it won't be an issue.

Thanks.
 
Back
Top