Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Admin / Customer Emails not arriving

    Is there anyway of changing the order sequence so that the store sends the order confirmation to the admin first, and then the customer, instead of the other way around?

    We've had problems with email spam and are on several blacklists which are currently being sorted, but if a customer places an order from that type of email account, they don't receive their email, and hence neither do we, but the sale is logged in the orders section of the admin side of the site.

    Or if a customer enters their email address wrong on sign-up, then place an order, again they don't receive it, and neither do we.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Admin / Customer Emails not arriving

    You've asked this twice before.
    And the answer is: yes. You can customize the code any way you like. You'll have to reverse-engineer every instance where an email is sent and deconstruct the emails so that the admin email is built separately from the non-admin email, and then send the messages in reverse order. As it stands now the customer email is sent first and then admin stuff is appended to it and then the admin email copy is sent.
    Further, when an email failure occurs, the store should carry on with sending the next email and finishing normal script execution. If yours isn't doing that, then either you've got it set to fail on email errors, instead of simply doing a friendly email failure message (Admin->Email Options), or your mailserver is the one who is actually rejecting the second email, presumably because it's confused by the other failing address as well.
    .

    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. Order emails not arriving for admin
    By technicology in forum General Questions
    Replies: 16
    Last Post: 14 Dec 2009, 11:51 PM
  2. Emails not arriving
    By Billd in forum General Questions
    Replies: 1
    Last Post: 14 Aug 2009, 08:16 PM
  3. emails not arriving
    By shah_hafiya in forum General Questions
    Replies: 4
    Last Post: 28 Feb 2009, 09:45 AM
  4. Emails Not Arriving
    By DanAKAL in forum General Questions
    Replies: 1
    Last Post: 6 Jan 2007, 10:50 AM

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