Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2011
    Posts
    1
    Plugin Contributions
    0

    Default [Done 2.0] "Contact Us" Email Dropdown List' when configured throws Error 500

    Zen Cart: v1.3.9f-h
    Using Heart Internet, everything green during server check during installtion.

    Configuring Contacts form email recipients via Admin >> Configuration >> "Contact Us" Email Dropdown List' caused various errors depending what mail transport is being used.

    replicated on v1.3.9f-h, first discovered after making changed to cart, then replicated with clean installations.

    After providing one or more email addresses for the Contacts Drop down box, and using Sendmail, I got Error 500 upon submitting the form. I tried using SMTP & SMTPAUTH options, this resulted in a server message saying: Email Error: SMTP Error: Could not connect to SMTP host

    The relevant server log whilst using Sendmail & the Sendmail-f option said:

    **Malformed header from script. Bad header="enquiries@labels-signs-tags.c: index.php, referer: http://domain.co.uk/index.php?main_page=contact_us**

    Using the default PHP Option I get a slightly diffferent server error:
    **Malformed header from script. Bad header=No recipient addresses found i: index.php, referer: http://domains.co.uk/index.php?main_page=contact_us**

    As soon as I removed the email address' from the "Contact Us" Email Dropdown List' and saved it blank, PHP & Sendmail & SMTP all worked again.
    Last edited by astraios; 18 Mar 2011 at 02:21 AM.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,039
    Plugin Contributions
    31

    Default Re: "Contact Us" Email Dropdown List' when configured throws Error 500

    Did you enter the email addresses as follows:

    Name 1 <email@address1>, Name 2 <email@address2>

  3. #3
    Join Date
    Jan 2004
    Posts
    60,305
    Blog Entries
    4
    Plugin Contributions
    51

    Default Re: "Contact Us" Email Dropdown List' when configured throws Error 500

    astraios, you're the first person to report those symptoms, and the code driving that hasn't changed significantly in several years.
    Thus, it would suggest that it's pointing to a configuration issue with your hosting company's server ... namely overly aggressive mod_security, or similar, rules imposed by the server administrator.

    Somewhat-related article: http://tutorials.zen-cart.com/index.php?article=63
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  4. #4
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,172
    Plugin Contributions
    13

    Default Re: "Contact Us" Email Dropdown List' when configured throws Error 500

    You must have both elements in Name 1 <email@address1>, Name 2 <email@address2> and it MAY be necessary to have no spaces...

    So, something like

    Sales<sales@abc.com>,Returns<returns@abc.com>
    The JSWeb Team
    www.JSWeb.uk
    PCI Compliant Host Provider (UK/IRELAND) - ZenCart Specialists

 

 

Similar Threads

  1. Replies: 0
    Last Post: 20 Nov 2009, 01:56 AM
  2. Set "Contact Us" Email Dropdown List setting in admin
    By swguy in forum General Questions
    Replies: 8
    Last Post: 13 Jul 2008, 10:09 AM
  3. [Done 1.3.9] Set "Contact Us" Email Dropdown List
    By capnhairdo in forum Bug Reports
    Replies: 0
    Last Post: 7 Mar 2008, 09:28 PM
  4. contact us dropdown list values
    By alghazn in forum Basic Configuration
    Replies: 3
    Last Post: 10 Sep 2007, 12:47 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
  •