Website contact.asp for stopped working once i changed the webservers IP address

mduplay
mduplay used Ask the Experts™
on
My organization purchased a website before i started that had a contact form as part of our website:

http://www.starkparks.com/contactus_form.asp

we had to change the ip address of the webserver as part of a ISP change. the website is up but the form hasnt sent any emails to the information@ address since the change. i have attached the code (but i am not sure what kind of code VB?) I assume I just need to change the smtp setting in the attached, but dont understand what Application(SMTPserver) means.

Any help? forms fills out fine but emails never make it to that account. i have confirmed the email account is working internally.
SMTP.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Does the new computer send mail any other way?  Like outlook or sendmail?  That is VB.
Top Expert 2005

Commented:
Application(SMTPserver) is probably defined in your global.asa file.  That is the normal place to set Application variables.

Probably could replace it with "localhost" and Application(SMTPport) is probably 25.

Your new ISP will tell you what should be in those locations. They probably have a help page or knowledge base article on sending mail via CDOSYS.

Author

Commented:
Is their a default location for a global.asa file?
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Author

Commented:
I found the global.asa file and it was pointed to 127.0.0.1, so i cahnged to localhost. so it looks like the machine used itself to send mail. anythoughts why this stopped working? wonder if smtp service is shut down. anything else?

Author

Commented:
smtp service is running under services but i still cant get emails. i changed the email account under global.asa file just to be sure it wasnt an account issue, and still no mail. i noticed iis had a smtp virtual server section. anything under that I should check>?

Author

Commented:
question: besides changing the ip address of this server, we moved it behind a different firewall. so we have a outside ip mapped to this servers internal. would i need to add port 25 to the firewall settings for this server? i am having trouble visualizing the process if someone comes to this server via the website and it wants to send email is that already behind the firewall?
Top Expert 2005

Commented:
Are you planning on handling incoming mail?

Author

Commented:
yes, i have a mail server that is set up on my firewall with port 25. maybe i should try and point this server to that one. i was trying to avoid making too many changes becuase this is the way the company set it ip. i am looking at my firewall now and i see the outside ip mapped to the inside one for the webserver but it only has port 80. i wonder if i need to add port 25 for that server?
Top Expert 2005

Commented:
I think you should just change from localhost to the internal IP address of your mailserver that is already setup to receive mail.  You will need to tell that server's SMTP services to relay mail from your mailserver.

Author

Commented:
i just changed the global.asa file to reflect the internal ip of the stmp server already setup. what would i need to do to setup this servers smtp services to relay mail from my mailserver?
Top Expert 2005

Commented:
LOL. I told you I was lucky with SMTP, not expert.  I just go click stuff until I find what I'm looking for.  It's been 5 years since I've done this, and there is no SMTP zone...just IIS.  What Server Version? 2000, 2003, 2008?

Author

Commented:
I am using server 2003 on both machines. I may just try and open port 25 on the firewall since this is already mapped. that may be easier. thank you for your help and ill post tomorw and see how lucky i get.
Top Expert 2005
Commented:
It happens that the only server version I have running is 2003.  I'll wait for your attempts as I'll need a XP Pro box to simulate one of the servers.  If you get nowhere, I'll do my magic clicking tomorrow.

Author

Commented:
cool - thanks again for the help

Author

Commented:
Company fixed it. Only took them 3 months. I think I was close. thanks for the help

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial