[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

Mail Not Being Sent since Moving to new Server

Hi all

I recently moved my website which is mostly .html with a PHP contact form, from a windows server 2003 to windows server 2008 web server.

I have installed SMTP on the new webserver but since the move if I click submit on my php form nothing happens.

I belive IIS 7 has fast cgi etc installed by default

can anybody help

John
0
pepps11976
Asked:
pepps11976
1 Solution
 
koolnurdCommented:
With windows 2008 I guess, specifying 127.0.0.1 works but "localhost" does not. Check if this helps.
0
 
pepps11976Author Commented:
ok where are you saying to change that, as none of my website pages have changed, I have only moved everything to a new server?
0
 
Loganathan NatarajanLAMP DeveloperCommented:
but since the move if I click submit on my php form nothing happens.

what is the error displayed on the page??

you can print these lines on top,

error_reporting(E_ALL);
ini_set('display_errors', '1');
0
 
mcnuteCommented:
probably your smtp settings have changed, if you've used the mail server of the win 2003 server. You'll need to configure the smtp settings of the new win 2008 server in your php contact form.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now