Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 15th, 2008, 03:51 AM
Registered User
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to vipin k varghese
Default code for windows server

    i want to run this php code in windows server. its already run in linux server.

$headers = "From: " . "$name" . "<" . "example@gmail.com" . ">\n";
            $headers .= "User-Agent: Mail/1.0.0\n";
            $headers .= "MIME-Version: 1.0\n";
            $headers .= "X-Sender: <" . "$to" . ">\n";
            $headers .= "Return-Path: <" . "to" . ">\n";
            $headers .= "Error-To: <" . "to" . ">\n";
            $headers .= "Content-Type: text/html;charset=utf-8\n";
            $headers .= "Content-Transfer-Encoding: 8bit\n";
            $headers .= "X-Priority: 3 (Normal)\n";
            $headers .= "Importance: Normal\n";


Old May 15th, 2008, 03:56 AM
Posts: n/a

do this for sending mail from local host.

type 'inetmgr' at run prompt
rt click at 'Default SMTP Virtual Server'
click properties
click 'access' tab at top
click 'Relay' tab
click only the list below radio button
click add
click single computer radio button
type in ip address

`````````````````````````````````````````````````` ``````````````````````
Once you start a working on something, dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install ffmpeg on windows server rahulcbr PHP How-To 1 November 16th, 2008 12:25 AM
Windows Server 2003 neil.abachi07 Windows Server 1 September 13th, 2007 02:11 PM
windows code generated siji44 Visual Studio 2005 1 September 11th, 2007 12:32 PM
Server for Windows XP LiamUk PHP How-To 2 July 30th, 2004 09:20 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.