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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp mail question

Status
Not open for further replies.

1712

Technical User
Nov 8, 2000
66
NL
We have been having quite a mystery here using aspmail. It works fine for me, our developer, another office pc, and our ISP provider when they test it. But most everybody else it has a problem.

WE have the successful asp object redirecting to a confirmation page which works on the pc's above but most everybody else it says 'page cannot be displayed' as if it cannot find the htm page.

Below is the code we use:

' create the mail object and set the properties
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "admin@nannieswhocare.com"
Mailer.FromAddress= "admin@nannieswhocare.com"
Mailer.RemoteHost = "localhost"
Mailer.AddRecipient "info@nannieswhocare.com", "info@nannieswhocare.com"
Mailer.Subject = "Data posted to form 1 of Mailer.BodyText = body
if Mailer.SendMail then
' if mail sends, redirect them
Response.Redirect("nannyconfirmation.htm")
else
'if not - display error
Response.Write "Mail send failure. Error was " & Mailer.Response
end if

Any ideas out there since we cannot duplicate the error without calling some of the users who have tried this.
 
o.k the only thing wrong here is that ur server may be linux based. in linux all_other.htm is different from All_other.htm!!! so check if the spelling and the case of each and every letter is the same as is in the server.

Known is handfull, Unknown is worldfull
 
Thanks for replying.. We are not using the linux server, but instead using a windows 2000 server. Then thing is the problem fails for another redirected page 'pinellas_add_nanny' as well as the 'all_other...' page.

Any other thoughts?
 
is this happening only on this page or on all pages...

the page not found is for this page -nannyconfirmation.htm or is it in the links provided in the mail?

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top