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

Mail on asp form won't send

Status
Not open for further replies.

Laura2

IS-IT--Management
Aug 13, 2002
99
US
I'm hoping someone can help me. I have an asp form that is set up correctly however, when submitting the form, the mail is not received on the other end. My server is set up on an intranet environment and the form is being sent to an outside address. Not sure if that has anything to do with it or not.

I'm using VB for the coding as follows:
Set objMail = CreateObject("CDONTS.NewMail")
objMail.MailFormat = 0
objMail.BodyFormat = 0
objMail.To = "example@example.com"
objMail.From = Email
objMail.Subject = "Order Form"
objMail.Body = body
objMail.send
set objMail = nothing

All of my other asp forms work fine but they send within the company. Any ideas?

Thanks in advance for your help.

Laura.

P.S. My server is using FrontPage 2002 server extensions.
 
what kind of mail server?
Is it getting to the mail server and sitting in a queue, or does the mail server reject the message altogether.

Is probably to do with relaying... you may have to set your mail server to be less secure.
 
Our mail server is MS Exchange. I received notification today that the form was delayed and then another that it failed. Very strange. How do I make the mail server less secure? I thought it may have something to do with the mailroot/pickup folder and enabling IUSR account with full rights. I did enable that but still no luck. :(

Laura.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top