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="[email protected]: 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,033
    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
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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: https://www.zen-cart.com/tutorials/index.php?article=63
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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,236
    Plugin Contributions
    20

    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<[email protected]>,Returns<[email protected]>
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

 

 

Similar Threads

  1. v150 Set "Contact Us" Email Dropdown List
    By f2bs in forum General Questions
    Replies: 4
    Last Post: 29 Apr 2015, 03:25 PM
  2. v150 Set "Contact Us" Email Dropdown List
    By f2bs in forum Basic Configuration
    Replies: 3
    Last Post: 29 Apr 2015, 12:10 AM
  3. 500 Internal Server Error when updating Order Status to "Update [4]"
    By rlexyd in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 28 Apr 2010, 07:09 AM
  4. 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
  5. [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

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR