+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22

Thread: Problems with Pear

  1. #11
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    Hi,

    With the e-mail address set to orders@westwalesrallyspares.co.uk in all instances Test Alert works and sends me this e-mail:

    To: orders@westwalesrallyspares.co.uk
    From: orders@westwalesrallyspares.co.uk

    This is a test alert message
    Loaded language is English (builtin)
    PHP version is 4.4.0
    FormMail version is 7.04
    Server type: non-Windows

    DOCUMENT_ROOT: /#####/####/public_html/secure
    SCRIPT_FILENAME: /#####/####/public_html/secure/mymailprog.php
    PATH_TRANSLATED: /#####/####/public_html/secure/mymailprog.php
    REAL_DOCUMENT_ROOT: /#####/####/public_html


    My form page gives me this error mesage:
    An error occurred while processing the form .

    Our staff have been alerted to the error .
    We apologize for any inconvenience this error may have caused.

    and the e-mail I recieve is as follows
    To: orders@westwalesrallyspares.co.uk
    From: orders@westwalesrallyspares.co.uk

    The following error occurred in FormMail :
    mail_failed
    **********
    Error=Failed to send email

    More information:
    PEAR Mail error: unable to add recipient [orders@westwalesrallyspares.co.uk]: Invalid response code received from server

    contact: 'Y'
    colors: 'blue'
    vehicles: 'Plane'
    mesg: 'ncnmeekceuifbcveoiv jdowofoeifvo'

    hope that helps

    Dave

    just another point the form is located in a sub domain https://secure.westwalesrallyspares.co.uk if that makes adifference

  2. #12
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Problems with Pear

    Hi,

    Thanks for clarifying the exact situation.

    It is strange, because of the inconsistency.

    just another point the form is located in a sub domain https://secure.westwalesrallyspares.co.uk if that makes adifference
    It may be something to do with this.

    I suspect it is a security issue of some sort on the server.

    But, there's no obvious difference between the testalert and your form submission that would indicate the cause of the problem.

    I found a PHP/PEAR bug report here: http://pear.php.net/bugs/bug.php?id=4241

    It seems to indicate that the bug is that the exact status (cause of the error) isn't shown. A bug in reporting not a bug in execution.

    In other words, if you had the updated PHP/PEAR you'd be able to see the reason the server is reporting this error.

    Since this bug report is Aug 2005, it's possible that you can update to a later version of PEAR and be able to see the exact message.

    To upgrade PEAR: http://pear.php.net/group/docs/20051104-sa.php

    It looks like you need the MAIL package version 1.1.7 or later: http://pear.php.net/package/Mail/download/1.1.7

    Once you know the underlying error message, you'll be able to figure out what the server is complaining about and take steps to handle it.

    As I said above, I suspect it's a security issue.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #13
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    Thanks I will take it up with my hosting company

    Dave
    Last edited by L.I.C.C.; 22-Nov-2005 at 12:05 AM.

  4. #14
    Join Date
    Nov 2005
    Posts
    14

    Unhappy Re: Problems with Pear

    OK my host has upgraded the pear mail component to 1.1.9 but I still have exactly the same problem

    Thanks

    Dave

  5. #15
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Problems with Pear

    Hi,

    Good.

    The error message was:
    PEAR Mail error: unable to add recipient [orders@westwalesrallyspares.co.uk]: Invalid response code received from server
    Is there now more information?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  6. #16
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    No the e-mail I recieved with the error message is exactly the same as before

    To: orders@westwalesrallyspares.co.uk
    From: orders@westwalesrallyspares.co.uk

    The following error occurred in FormMail :
    mail_failed
    **********
    Error=Failed to send email

    More information:
    PEAR Mail error: unable to add recipient [orders@westwalesrallyspares.co.uk]: Invalid response code received from server

    contact: 'Y'
    colors: 'blue'
    vehicles: 'Truck'
    mesg: 'mozilla test'

    Thanks

    Dave

  7. #17
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Problems with Pear

    Hi,

    OK, then I'm not sure that they've upgraded PEAR properly.

    It's pretty clear from the pages I mentioned previously that the new version of the Mail.php PEAR module is designed to provide more information in the error. And you're not seeing that.

    Basically, without determining exactly what the server is complaining about, we have no way of moving forward.

    Either PEAR tells us, or we design specific tests to run on your server to determine what's going on in the mail subsystem.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  8. #18
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    They have only upgraded the mail component as far as I am aware is there any other packages that should be upgraded ?

    I have also asked them to confirm that the upgrade was successful

    Thanks for your patience

    Dave

  9. #19
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    I just recieved this reply from my hosts help desk

    ====== Please reply above this line ======
    help required with 3rd party application

    Dave,

    Here is the info displayed from pear. As you will see, Mail 1.1.9 is installed.

    root@sigma [~]# pear info Mail
    About Mail-1.1.9
    ================
    Provides Classes:
    Package Mail
    Summary Class that provides multiple interfaces for
    sending emails
    Description PEAR's Mail package defines an interface for
    implementing mailers under the PEAR hierarchy.
    It also provides supporting functions useful to
    multiple mailer backends. Currently supported
    backends include: PHP's native mail() function,
    sendmail, and SMTP. This package also provides a
    RFC822 email address list validation utility
    class.
    Maintainers Chuck Hagenbuch <chuck@horde.org> (lead)
    Richard Heyes <richard@phpguru.org> (developer)
    Jon Parise <jon@php.net> (lead)
    Version 1.1.9
    Release Date 2005-09-13
    Release License PHP/BSD
    Release State stable
    Release Notes - SMTP connections are now reset (RSET) when an
    error occurs. (Bug 5212)
    - The SMTP driver now exposes a disconnect()
    method which forcibly destroys the SMTP
    connection. (Bug 5372)
    Release Deps Package Net_SMTP >= 1.1.0
    Last Modified 2005-11-22

    Regards,
    Josh

    Does that help ?

    Thanks,

    Dave

  10. #20
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Problems with Pear

    Hi,

    It looks right.

    I noticed this:
    Release Deps Package Net_SMTP >= 1.1.0
    Are you able to telnet or SSH to your server and type:
    Code:
    pear info Net_SMTP
    If not, ask them to do it.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ 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. problems to display template.
    By minorarias in forum FormMail Subscription Support
    Replies: 3
    Last Post: 31-Jan-2005, 10:23 PM
  2. mail_options and template problems
    By middric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 09-Jan-2005, 09:29 PM
  3. Template problems
    By msoucy in forum FormMail Subscription Support
    Replies: 8
    Last Post: 03-Dec-2004, 05:31 AM
  4. csv file problems
    By Badnet in forum FormMail Subscription Support
    Replies: 2
    Last Post: 12-Nov-2004, 03:06 AM
  5. Badhandler Problems
    By Jacob in forum FormMail Subscription Support
    Replies: 3
    Last Post: 17-Aug-2004, 09:11 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