+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22

Thread: Problems with Pear

  1. #1
    Join Date
    Nov 2005
    Posts
    14

    Question Problems with Pear

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

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

    I have this e-mail address and password entered in the pear section, what have I done wrong please.

    Thanks,

    Dave

    p.s. it works if I test it with the hosting password and username using http://yoursite.com/formmail.php?testalert=1 but again it doesn't work with my form
    My form works using the normal method but I want to use pear as this is a resold account on my hosting and I don't want my client to know where his site is really :-) and the header that the form sends gives it away !

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

    Default Re: Problems with Pear

    Hi,

    I have this e-mail address and password entered in the pear section

    p.s. it works if I test it with the hosting password and username
    You need the hosting user/pass in the PEAR configuration in FormMail because it is for authentication.

    Your form should work if you do this.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    OK changes made now I get this error

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

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

    I am using the mangel feature if that makes a difference

    Cheers,

    Dave

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

    Default Re: Problems with Pear

    Hi,

    Don't use the mangle feature in your PEAR settings in FormMail. AT_MANGLE is only to be used inside an HTML form.

    Very simply: if you had the testalert working with a setting, then the form should too with the same setting.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    OK I have removed the mangle feature from both my form and formmail now but I still get the same error message as above

    Thanks,

    Dave

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

    Default Re: Problems with Pear

    Hi,

    Earlier you said you had a configuration that allowed the testalert to work.

    Have you got that config now?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    Yes if you visit https://secure.westwalesrallyspares....hp?testalert=1 you will see that it works but then if you fill in the sample form at https://secure.westwalesrallyspares....leformhtml.php
    you will see that the form fails and I get the following e-mail:
    To: dave.buchholz@dsl.pipex.com
    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: 'testing'
    Thanks,

    dave

  8. #8
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: Problems with Pear

    Hi,

    Which address do you have DEF_ALERT set to?

    If you change the sample form recipients to that address, does it work?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  9. #9
    Join Date
    Nov 2005
    Posts
    14

    Default Re: Problems with Pear

    Hi again

    I had it set to my personal e-mail dave.buchholz etc... I have re-set it to the same address as the form is submitted to but I still get the cannot add recipient error

    thanks

    Dave

  10. #10
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: Problems with Pear

    Hi,

    No, we're going around in circles....

    You had the testalert working. What I want you to do is:
    1. Set DEF_ALERT to that address (the one that worked).
    2. Set the PEAR configuration to the whatever it was when the testalert worked.
    3. Confirm that testalert still works.
    4. Set the form recipients to the same value as DEF_ALERT
    5. Test the form.
    Does that work now?
    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