Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2009
    Posts
    7
    Plugin Contributions
    0

    Default An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    I have successfully installed XAMPP as directed in the Zen Cart manual. Mercury Mail is working and sending messages too.

    I installed Thunderbird and set up the email accounts as directed in the manual on pages 42-44. I tried sending an email message from [email protected] to [email protected]. It doesn't work. I get this error message:
    "An error occurred while sending mail. We do not relay non-local mail. Sorry. Please check the message recipients and try again."

    The outgoing mail server for all the email account properties says:
    storekeeper - mail.example.com (Default)

    I run Microsoft Vista on this computer.

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    Try with storekeeper@localhost and nicole@localhost and see what happens.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  3. #3
    Join Date
    Jan 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    I sent a message from [email protected] to nicole@localhost and it worked.

    Tried sending a message from [email protected] to [email protected] and it did not work-gave me the same error message above.

    Sending a message from [email protected] to storekeeper@localhost does work.

  4. #4
    Join Date
    Jan 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    I am unable to send the test email from the admin console, as directed in the Zen Cart manual on page 74. When I send the message I get this error message:

    Email Error: SMTP Error: The following recipients failed: [email protected]

    Please advise as to how to fix this.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    Are you trying to specifically add "localhost mailserver configuration" skills to your resume?

    If not, forget about it and move on to the rest of setting up your store. Then test the mail functions using a real live webserver which is already designed to work with sending email ... and let the folks who do server administration for a living be the ones to make sure their mailserver functions are working properly.

    Your localhost computer wasn't designed to be a mailserver. It seems you're spending a lot of time trying to make it do that for no beneficial reason ... ie: your store isn't going to run from your localhost computer when you "go live" anyway, so why waste time on something of no value?

    That's my opinion, anyway. Not meant to be rude or critical ... just an observation, along with recommendation on how to reduce stress and focus on tangible results.
    .

    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.

  6. #6
    Join Date
    Jan 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    DrByte,

    I appreciate the advice, and in fact moving on is exactly what I decided to do last night. Learning about Zen Cart with this manual is great, except for the hassles with the email functionality problems.

    Thanks.

  7. #7
    Join Date
    Nov 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    I have had the exact same problem with Apache. After I installed Apache, I did the email test using localhost. It worked ok. But when I used example.com as page 39 suggested, it would not work. I could use example.com in one and localhost in the other and it would work but not with example.com in both. I worked with this for many hours and even did a uninstall/install. I then installed Mercury mail. Of course the problem was still there and no email could be sent because of the example.com domain. Also, I did check for typing errors on the config changes. ok.
    Has anyone found a fix for this.
    Thank You for any help.

  8. #8
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: An error occurred while sending mail. We do not relay non-local mail. -- XAMPP

    Your problem seems to be related to how your Windows hosts file is set up or how DNS is resolved on your system. If you're unsure what I mean by that, you can follow these few steps instead.

    First, check whether you are using the same XAMPP version as that recommended in the book. Otherwise, you will need to make some other manual tweaks to your Mercury settings. XAMPP versions using PHP 5.3 will not work with Zen Cart 1.3.8a altogether.

    Second, make sure you update your book's contents with the errata and updates which we have posted on our site. We have not made any updates for Windows 7 and its different editions though.

    Finally, if it takes too much time to set up the Mercury email on your local PC, you can skip that section and set up your email on your live server when you have settled on a host.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

 

 

Similar Threads

  1. Replies: 3
    Last Post: 8 Oct 2009, 07:23 AM
  2. Email Error: Could not instantiate mail function on XAMPP
    By acummins in forum Installing on a Windows Server
    Replies: 3
    Last Post: 16 Jul 2008, 07:18 AM
  3. Sending e-mail order notification to more than one e-mail address
    By gardengate in forum Basic Configuration
    Replies: 2
    Last Post: 8 Apr 2008, 06:23 PM
  4. Error sending e-mail to customers
    By scottrdj in forum General Questions
    Replies: 13
    Last Post: 15 Sep 2007, 10:25 AM

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