when the page loads this script is to be ran straight away
<%
Set objNewMail = Server.CreateObject("CDONTS.NewMail"
objNewMail.From = "downloads@somewhere.com"
objNewMail.To = "someone@somewhere.com"
objnewmail.Cc = "someoneelse@somewhere.com"
objNewMail.Subject = "HCL Downloads"
objNewMail.Body="The software can be downloaded from here"
objNewMail.Send
Set objNewMail = Nothing
%>
but this is only executing about 50% of the time, while if the page is refreshed it always get executed.
Any idea as to whats wrong and how to sort it out, just getting back into ASP after a break so a little slow at the mo
<%
Set objNewMail = Server.CreateObject("CDONTS.NewMail"
objNewMail.From = "downloads@somewhere.com"
objNewMail.To = "someone@somewhere.com"
objnewmail.Cc = "someoneelse@somewhere.com"
objNewMail.Subject = "HCL Downloads"
objNewMail.Body="The software can be downloaded from here"
objNewMail.Send
Set objNewMail = Nothing
%>
but this is only executing about 50% of the time, while if the page is refreshed it always get executed.
Any idea as to whats wrong and how to sort it out, just getting back into ASP after a break so a little slow at the mo