Forums / Basic Configuration / Can't Set Up Administrator Email to be on Localhost

Can't Set Up Administrator Email to be on Localhost

Views: 1,338

Results 1 to 7 of 7
9 Nov 2011, 7:19 PM
#1
feralreason avatar

feralreason

New Zenner

Join Date:
Oct 2011
Posts:
11
Plugin Contributions:
0

Can't Set Up Administrator Email to be on Localhost

I'm installing Zen Cart locally for development and testing purposes.
I'm Running XAMPP on Windows 7. Zencart Version: v1.3.9h
I want to set it up so that Administrator's email is "admin@localhost".
However, Zen Cart setup says this email is not valid.
Is there anyway around this ?

9 Nov 2011, 7:26 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Can't Set Up Administrator Email to be on Localhost

Check the Similar Threads below.

9 Nov 2011, 9:54 PM
#3
feralreason avatar

feralreason

New Zenner

Join Date:
Oct 2011
Posts:
11
Plugin Contributions:
0

Re: Can't Set Up Administrator Email to be on Localhost

I read through the threads and didn't find anything.

Maybe I didn't state my question clearly enough. Zen Cart's set-up screen is giving me this error message -- that "admin@localhost" is not a valid email.

I need a valid email because I've already made a login error once and had to reinstall from scratch.

However, if Zen Cart does not support localhost email, then I can't use a local development environment. Which means I need to look for another cart I can work with...

Any help would be appreciated.

9 Nov 2011, 10:10 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Can't Set Up Administrator Email to be on Localhost

Zencart looks for an address in the format [email protected]. Most folks who install local copies wait until they move their site to a remote server to test email. I'd be surprised if any cart or other software) would behave the way you've described.

9 Nov 2011, 10:21 PM
#5
feralreason avatar

feralreason

New Zenner

Join Date:
Oct 2011
Posts:
11
Plugin Contributions:
0

Re: Can't Set Up Administrator Email to be on Localhost

So as far as you know, there is no workaround to make Zen Cart use a localhost email address for admin.

( I am fine with waiting to test email till I moved to a remote server.
The problem is not testing email. The problem is what happens if I make a mistake logging in and am denied access to the work I've done - because there is no way for Zen Cart to send me login information. )

9 Nov 2011, 10:22 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can't Set Up Administrator Email to be on Localhost

Zen Cart doesn't allow use of email addresses without a TLD such as .com.

So, you can fix that either by using an email address from an external domain, or you can configure your local environment to actually have a domain name which uses a TLD. Instructions on configuring your local environment with domain names can be found in the help documentation that comes with your local environment software.

.
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.

9 Nov 2011, 10:37 PM
#7
feralreason avatar

feralreason

New Zenner

Join Date:
Oct 2011
Posts:
11
Plugin Contributions:
0

Re: Can't Set Up Administrator Email to be on Localhost

Ah -- thanks much. I didn't know that -- but it makes sense.