Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    help question Email question - localhost - wamp - SMTP

    Version 1.3.8a on localhost (windows xp professional, wamp5)

    On numerous occasions, I tried sending emails from my localhost zencart and failed. This, despite what I thought were good config settings on ZC.

    Just because I use an SMTP remote server for all my personal and incoming email, does that mean I have to use that server for outgoing mail in this instance as well?

    And if I do use the SMTP server, can you confirm that I'll have to make a PHP.ini change as well? Maybe that's why it never worked?
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

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

    Default Re: Email question

    Quote Originally Posted by Zinfandel View Post
    Version 1.3.8a on localhost (windows xp professional, wamp5)

    On numerous occasions, I tried sending emails from my localhost zencart and failed. This, despite what I thought were good config settings on ZC.
    Sending email from "localhost" on a development computer is entirely dependent on what mailserver software you have running on that development computer.

    Quote Originally Posted by Zinfandel View Post
    Just because I use an SMTP remote server for all my personal and incoming email, does that mean I have to use that server for outgoing mail in this instance as well?
    That's usually the easiest way.

    Quote Originally Posted by Zinfandel View Post
    And if I do use the SMTP server, can you confirm that I'll have to make a PHP.ini change as well? Maybe that's why it never worked?
    If you use SMTPAUTH you shouldn''t have to touch your php.ini file.
    .

    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.

  3. #3
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    Default Re: Email question - localhost - wamp - SMTP

    If you use SMTPAUTH you shouldn''t have to touch your php.ini file.
    Thanks DrByte,

    Regardless of whether I use SMTP or SMTPAUTH, with domain validation or without, I can't seem to get past that pesky fatal error

    "Not a valid from address" which in this case happens to be info AT christianbazaar DOT com and indeed a valid address.

    I'm going to keep digging for some info here, but I'm nearly ready to give up and tackle the issue when the site goes live. I hate working on the host server, which is why I like to iron things out locally first.

    Thanks again.
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

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

    Default Re: Email question - localhost - wamp - SMTP

    Your mailserver is what's giving you that error.
    If Wamp5 has any mail logs, you might figure out what's causing it there.
    Perhaps it's unable to validate the email address because it's not configured as a traditional full-service email server.
    Have you perhaps tried a different email address?
    And, what aspect of email testing do you even need the emails for anyway? You could just set "Send Emails" to false in the admin until you're ready to go live.
    .

    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.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Email question - localhost - wamp - SMTP

    info AT christianbazaar DOT com or christianbazaar DOT com is not the assigned FQDN for your local host - so how or why would this work?

    I assume that these are assigned to your live server??
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    Default Re: Email question - localhost - wamp - SMTP

    DrByte ,

    You're absolutely right, when I upload the site, I'll work on the emails then.

    Kobra,

    Many thanks, if I understood anything about email servers, I wouldn't be her asking silly questions. I always look forward to the insights I can get from knowledgeable people.

    I've been considering installing a mailserver on my PC so as not to have deal with ISP mailservers. Is there one in particular that actually works which you might recommend?
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

  7. #7
    Join Date
    Sep 2007
    Posts
    166
    Plugin Contributions
    1

    customer issue Re: Email question - localhost - wamp - SMTP

    We're in the same boat

    I've gotten everything else running smoothly on my carts, but the email... I'm using wamp5, but I'm clueless when it comes to smtp, sendmail etc.. I have no idea what I'm doing when it asks me for this. I just specify localhost, as the server, but it never works, and port 25 is open on my router for this machine. No windows firewall.

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Email question - localhost - wamp - SMTP

    edwardtilbury,

    Kinda the same answer...

    on your local machine, you most likely do not have this setup as a "true" web server so what ever FQDN(domain name) you have is not pointed to any nameservers associated with it and you probably have none setup.

    The Inet has no way of contacting "localhost" so can not deliver mail to it
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Email question - localhost - wamp - SMTP

    If you want to test email locally, there's a free tool which I just found, called Papercut. I haven't tried it yet but it has some good reviews and looks promising.

    invalidlogic.com/papercut/

  10. #10
    Join Date
    Jun 2010
    Posts
    1
    Plugin Contributions
    0

    Idea or Suggestion Re: Email question - localhost - wamp - SMTP

    I was trying to setup & test mail function with WAMP until the development is done and codes are moved to web hosting server.

    I came across this interesting article on How to configure emails with WAMP (by installing ArGoSoft mail server software): expertcore.org/viewtopic.php?f=41&t=1808

    Hope this will help for testing emails with WAMP.

 

 

Similar Threads

  1. Replies: 8
    Last Post: 17 Mar 2015, 07:32 PM
  2. Timeout Restoring DB to a WAMP localhost
    By kcb410 in forum Installing on a Windows Server
    Replies: 2
    Last Post: 27 Jan 2010, 03:35 AM
  3. For Windows 7 64-bit localhost setup - WAMP or XAMPP?
    By moonlight in forum Installing on a Windows Server
    Replies: 14
    Last Post: 13 Jan 2010, 04:35 PM
  4. Email SMTP issues (needed 'smtpauth' instead of 'smtp')
    By petpromises in forum General Questions
    Replies: 23
    Last Post: 8 Nov 2006, 01:48 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