+ Reply to Thread
Results 1 to 7 of 7

Thread: Browsers shows errorpage but mail is sent

  1. #1
    Join Date
    Apr 2012
    Posts
    7

    Default Browsers shows errorpage but mail is sent

    Hello,
    We are using the formmail script on 2 lamp servers with plesk.
    On 1 server all is fine. On the second one we run into the following problem:

    Upon sending the form the browser shows the bad_url instead of good_url
    allthoug all fields have been filled out.
    The formdata however is submitted and the e-mail is received perfectly.

    The bad_url is showing:
    http://www.xxx.yy/formerror.php?this...joj1pvvl7o0ms0

    So basically it says: failed to send email, but as stated before: the e-mail has been sent!

    Tried the following:

    http://www.xxx.yy/fmprocessor.php?testalert=1

    Result: testalert e-mail is received but the browser shows: FAILED to send alert message. Check your server error logs.
    Again: it did not fail to send the e-mail.

    So the problem I am having is that with exactly the same formmail configuration on 2 servers,
    one of them is giving me an incorrect error message; in all cases the e-mail is sent just fine.

    Please advice...

  2. #2
    Join Date
    Dec 2003
    Posts
    3,978

    Default Re: Browsers shows errorpage but mail is sent

    Hi,

    It sounds like the mail server is reporting an error when none has occurred.

    I've seen this occasionally, but it's a rare sort of fault.

    I can run some tests and confirm exactly what's happening.

    Please send me access details (e..g. FTP, CPanel) to your server using this secure form:
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Apr 2012
    Posts
    7

    Default Re: Browsers shows errorpage but mail is sent

    Thank you for the quick reply,

    I've just sent you the data through the secure form.
    Including testpage with form and ftp access.

  4. #4
    Join Date
    Dec 2003
    Posts
    3,978

    Default Re: Browsers shows errorpage but mail is sent

    Hi,

    Thanks.

    I've done some initial tests, and cannot get your server to send email to me.

    I need to run some more tests, which I'll do tomorrow.

    In the meantime, can you please ask your host why this *very* simple script doesn't work on the server:
    This script clearly shows that a basic PHP operation isn't working, so they need to explain and/or fix it.

    If the host has some special settings to make email operate properly, please ask them to provide that information.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Apr 2012
    Posts
    7

    Default Re: Browsers shows errorpage but mail is sent

    I've tried your testscript with my own e-mail address and I do receive the e-mail. However I also get the message that it failed.

    Tried another php mail test:

    <?php
    $to = "xx@yy.nl";
    $subject = "Test mail";
    $message = "Hello! This is a simple email message.";
    $from = "xx@yy.nl;
    $headers = "From:" . $from;
    mail($to,$subject,$message,$headers);
    echo "Mail Sent.";
    ?>

    That also works...

    file: testmail2.php

  6. #6
    Join Date
    Dec 2003
    Posts
    3,978

    Default Re: Browsers shows errorpage but mail is sent

    Hi,

    I just ran some more tests and your form seems to be working OK now.

    Please confirm.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Apr 2012
    Posts
    7

    Default Re: Browsers shows errorpage but mail is sent

    Yes, it is working correclty now indeed.
    Strange thing. Our server administrator also did some checks and had something to do with incorrrect permissions
    on a systems folder after a recent server-update. So apparently I made the wrong assumption that the problem had to
    do anything with the script.
    Thank you for your help,

    best regards,

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Captcha error in some browsers
    By oldcelt in forum Community Support
    Replies: 2
    Last Post: 09-Aug-2010, 03:25 PM
  2. NewImageVerify not working in newer browsers
    By jzieba in forum Bug Reports
    Replies: 10
    Last Post: 22-Feb-2010, 02:29 PM
  3. The HTML form shows the table outlines in the browser
    By Pablomon in forum Community Support
    Replies: 2
    Last Post: 26-Sep-2008, 11:09 PM
  4. Email shows strange sender name
    By sdasevne in forum Community Support
    Replies: 2
    Last Post: 08-Feb-2008, 03:34 AM
  5. path to form shows up in address bar
    By dynamicmedia in forum FormMail Subscription Support
    Replies: 3
    Last Post: 10-Dec-2004, 12:12 AM

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