Solved

Mail Not Being Sent since Moving to new Server

Posted on 2013-01-23
4
179 Views
Last Modified: 2013-02-01
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
Comment
Question by:pepps11976
4 Comments
 
LVL 2

Expert Comment

by:koolnurd
ID: 38809852
With windows 2008 I guess, specifying 127.0.0.1 works but "localhost" does not. Check if this helps.
0
 

Author Comment

by:pepps11976
ID: 38809864
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
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 38812982
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
 
LVL 11

Accepted Solution

by:
mcnute earned 500 total points
ID: 38814203
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question