Results 1 to 6 of 6

Thread: Windows server issues and PHP

  1. #1
    Join Date
    Sep 2010
    Posts
    3

    Default Windows server issues and PHP

    I've got the form mail working just fine on a unix or linux server, but now I have no choice but to set it up on Windows II7 with CGI/FastCGI PHP version 5.2.2

    Here's the message I get when running a testalert:

    FAILED to send alert message. Check your server error logs.

    Can someone help me determine how to proceed to fix this. I htought it might be an email issue from PHP, but I've tried all the email options as described in the online support to no avail. A basic testmail PHP file works fine, but there are some differences to the one supplied by Tectite, such as:

    $toaddress (supplied by host) as opposed to $ADDR (formmail file)

    Any thoughts?

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Windows server issues and PHP

    if u have a basic testmail script working, then theres no reason formmail won't work too

    is it the testmail script from tectite?

  3. #3
    Join Date
    Sep 2010
    Posts
    3

    Default Re: Windows server issues and PHP

    Thank you Crabtree.

    I ran both the Tectite testmail script and a standard php test mail script supplied by the host server. The formmail test script did not work, theirs did.

    I've attached both to this reply.

    PHPmail-test - supplied by host works fine but has some minor differences in syntax to the one supplied by formmail, such as:

    $toAddress= compared to $ADDR =

    Any thoughts would be appreciated.
    Attached Files Attached Files

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Windows server issues and PHP

    it looks like the key is that u need to specify a from address.

    so, open up FormMail and look in the config section for $FROM_USER (around line 291 in version 8.24)

    set it to the same value as $fromAddress in the script that works (admin AT x DOT domain DOT net)

    then ur testalert test should work.

    when tested, post back for instructions for ur form (or just look at this document (http://www.tectite.com/fmdoc/emailproblems.php)

  5. #5
    Join Date
    Sep 2010
    Posts
    3

    Default Re: Windows server issues and PHP

    Thank you and sorry for the long delay in response. I tried your suggestion with the $From_User field and it did not work. I also tried changing some of the other settings like SEND_F_OPTION and INI_SET_FROM even SET_SENDER_FROM_EMAIL. Nothing seems to work.

    I've even noticed now that the PHPmail-test the ISP supplied sends back a visual response to the browser, but I've never actually received any emails.

    Any thoughts?

    I really need to get this working. Presently I have the form script hosted on another server where I know it works, but it's not secured. The actual server where it should be has a SSL certificate associated with it.

    Thanks. LK

  6. #6
    Join Date
    May 2008
    Posts
    1,291

    Default Re: Windows server issues and PHP

    How about subscribing for support with Russell/Tectite?

    ginger

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Server with No PHP Support
    By Chek in forum FormMail Subscription Support
    Replies: 5
    Last Post: 23-Mar-2005, 06:16 AM
  2. New Server
    By sectioni in forum FormMail Subscription Support
    Replies: 9
    Last Post: 21-Mar-2005, 02:07 AM
  3. FormMail Issues
    By kontesto in forum FormMail Subscription Support
    Replies: 2
    Last Post: 19-Oct-2004, 03:31 AM
  4. Thanks for the great script, but I am having issues...
    By darknightjedi in forum FormMail Subscription Support
    Replies: 12
    Last Post: 26-Aug-2004, 08:08 PM
  5. Does your server accept PHP?
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 17-Mar-2004, 06:21 PM

Bookmarks

Posting Permissions

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