In Expression Web I developed an index.html and sendmail.php In preview in browser the index.html looks good. I enter name and email address then click on Submit and the next web page displays the content of sendmail.php instead of the thank
you message followed by a redirect to the next web page. Why?
Go to Site > Site Settings and on the preview tab change the radio button to use the Preview server on all pages not just php/asp.net pages.
What is happening is that you are previewing the index.html page using the file system (c:/path) instead of the preview server (http://localhost/path) so there is no server to process the php code in sendmail.php. You
will also need to install and configure EW to use PHP. See:
http://expression.microsoft.com/en-us/ee662148.aspx