• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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