|
| |
|
|
Mav44
Posts: 122 Joined: 6/25/2006 Status: offline
|
Send confirmation email - 8/5/2008 14:42:24
I have been using the following script for the past couple of years to let me know when someone has completed a form for review. After they complete the form they are taken to a "thank you page" and this page kicks an email out to me. All of a sudden the user receives a error '80040211', page and I don't get an email. I am guessing that it has something to do with how I am trying to relay the info. Any ideas are apprciated as always! <% Set oMail = Server.CreateObject("CDO.Message") Set oMailConfig = Server.CreateObject ("CDO.Configuration") oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "relay-hosting.secureserver.net" oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 oMailConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60 oMailConfig.Fields.Update Set oMail.Configuration = oMailConfig oMail.From = "me@myemail.com" oMail.To = "me@myemail.com" oMail.Subject = "Website - XYZ Update" oMail.HTMLBody = "The XYZ Page Has Received A Request for Approval" oMail.Send Set oMail = Nothing Set oMailConfig = Nothing %>
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|