Solved

Mail Not Being Sent since Moving to new Server

Posted on 2013-01-23
4
173 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now