Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008
    Location
    Tasmania. Australia
    Posts
    38
    Plugin Contributions
    0

    Default [Not a ZC bug] "Contact Us" PHP mail error

    Zen version is 1.3.8a
    PHP version is 5.2.42
    Email Transportation Method set to PHP

    Order confirmation, welcome email, etc, all work fine, so there is nothing wrong with the selected transportation method in my setup.

    When I try to use this transport method with the Contact Us form, however I get an Could not instantiate mail function error. It ONLY occurs in the contact form.

    I note that this has been discussed elsewhere as an issue, but always assumed to be an issue with the host server. It cannot possibly be an issue with my server if all other mail sends without problem using PHP mail function.

    I was able to work around it by changing to transport via smtpauth, but this does not change the issue with the contact form, which should also work perfectly well under PHP mail function, given that all other mail functions work.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: "Contact Us" PHP mail error

    Quote Originally Posted by Anna718 View Post
    I was able to work around it by changing to transport via smtpauth, but this does not change the issue with the contact form, which should also work perfectly well under PHP mail function, given that all other mail functions work.
    The reason it works via smtpauth is that your smtpauth mailserver has you fully authenticated when you use that method, whereas the "PHP" method does not authenticate you. And, since your contact-us message is set up to spoof the sender's name, using the PHP method on *your* server is causing your messages to be rejected before they're even sent.

    Thus, it's not a bug in Zen Cart. Instead, it's a security limitation of your hosting company's setup and/or your choice of email addresses.
    .

    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.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 31 Dec 2011, 08:37 PM
  2. Replies: 2
    Last Post: 16 Oct 2011, 11:27 PM
  3. Replies: 0
    Last Post: 6 Aug 2011, 08:12 PM
  4. Replies: 1
    Last Post: 12 Jul 2011, 12:57 AM
  5. Replies: 1
    Last Post: 12 Oct 2006, 11:15 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