nX-Mailer form will not work on Windows server

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default nX-Mailer form will not work on Windows server

    I am using a PHP script to process my HTML form but on Windows it does not work. What
    should I be asking my host to install on the server?

    This is the script which works great on my Linux server:


    <?
    /*
    Author = Cyber-dog (Resource-reactor)
    Website = [url]www.resource-reactor.com[/url]
    Release Date = 09 January, 2004
    Version = 1.3

    */

    $to = "me@mydomain.com"; // E-mail address to send mail to.
    $subject = "whateva u like!"; //Subject of the e-mail
    $message = "

    "; // Message shown at other end (the e-mail).
    mail($to, $subject, stripslashes($message), "From: $name <$email>\nX-Mailer: PHP/" .
    phpversion());
    header( "location: https://www.mydomain.con/redirectpage.htm"); //url to re-direct to
    after mail has been succesfully sent.
    ?>



    Thanks


    I Need Help! Guest

  2. Similar Questions and Discussions

    1. form mailer
      I need some help. I created a form using dreamweaver (heres the link to the site and form http://www.brentwoodlivery.ca/evaluation ) Basically when...
    2. Pages work on Windows XP but not Windows Server 2003?
      Hey all, I have an editable datagrid with custom paging set up. I have my work server which uses sql server 2k and windows server 2003. My pages...
    3. form mailer in Pub.2000
      Is there a way to recieve the info from the form mailer to not appear as random lines of info? But rather the name/address/etc together and the...
    4. sending attachments with form mailer
      I am using form mail to get information from forms on my web site and need to include the option for users to add files. Does anyone know of a good...
    5. Script Request - form mailer with ID Number
      Hi all I am looking for a basic form mailer script that can assign a unique sequential number to each request, if anyone knows of one please let...
  3. #2

    Default Re: nX-Mailer form will not work on Windows server

    I would ask your host what they need. It really depends on how the server is
    set up, and they may have steps in place to stop spam sending which can
    affect the code. You may need to add a line in such as:

    ini_set("sendmail_from", [email]email@yourdomain.com[/email]);

    Would be best to go straight to your host to ask what they need.


    --
    Gareth - TMM Dreamweaver
    [url]http://www.dreamweavermxsupport.com/[/url]
    [url]http://www.garethdp.com/[/url]

    PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
    [url]http://www.phploginsuite.co.uk/[/url]

    Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
    Co-Author: Practical Intranet Development - Apress
    Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
    Co-Author: Dreamweaver MX: PHP Web Development - Wrox


    gareth Guest

  4. #3

    Default Re: nX-Mailer form will not work on Windows server

    I already had and they said to us cdo message however I already have many forms in PHP. As
    I do not know who the from is, I cannot do as suggested.




    "gareth" <gareth@buzzinet.co.uk> wrote in message
    news:cvaq30$t2l$1@forums.macromedia.com...
    I would ask your host what they need. It really depends on how the server is
    set up, and they may have steps in place to stop spam sending which can
    affect the code. You may need to add a line in such as:

    ini_set("sendmail_from", [email]email@yourdomain.com[/email]);

    Would be best to go straight to your host to ask what they need.


    --
    Gareth - TMM Dreamweaver
    [url]http://www.dreamweavermxsupport.com/[/url]
    [url]http://www.garethdp.com/[/url]

    PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
    [url]http://www.phploginsuite.co.uk/[/url]

    Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
    Co-Author: Practical Intranet Development - Apress
    Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
    Co-Author: Dreamweaver MX: PHP Web Development - Wrox



    I Need Help! Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139