Forums / General Questions / Email question - localhost - wamp - SMTP

Email question - localhost - wamp - SMTP

Locked

Started by zinfandel on 13 Feb 2008, 9:13 PM · Views: 9,705

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
13 Feb 2008, 9:13 PM
#1
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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.

14 Feb 2008, 4:41 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Email question - localhost - wamp - SMTP

Zinfandel:

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.

Zinfandel:

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.

Zinfandel:

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.

14 Feb 2008, 8:02 PM
#3
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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 [email protected] 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.

15 Feb 2008, 10:07 PM
#4
drbyte avatar

drbyte

Sensei

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

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.

16 Feb 2008, 8:33 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

17 Feb 2008, 5:52 AM
#6
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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.

28 Oct 2008, 1:45 AM
#7
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

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

AIM edwardtilbury
GoogleTalk edwardtilbury

28 Oct 2008, 12:40 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

29 Jun 2010, 7:15 PM
#10
neocambell avatar

neocambell

New Zenner

Join Date:
Jun 2010
Posts:
1
Plugin Contributions:
0

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.