If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / SMTP-Auth & Gmail Issues

SMTP-Auth & Gmail Issues

Locked

Started by sectim42 on 4 Oct 2006, 3:30 AM · Views: 55,616

Results 41 to 60 of 73
This thread is locked. New replies are disabled.
16 Oct 2006, 4:08 AM
#41
redxiii avatar

redxiii

New Zenner

Join Date:
Jun 2006
Posts:
58
Plugin Contributions:
0

Post #41 by redxiii

Using Gmail-Hosted Mail Service (not that free Gmail account)

ZenCart Admin -> Configuration -> Email Options

E-Mail Transport Method		sendmail
SMTP Email Account Mailbox 	(leave blank)
SMTP Email Account Password 	(leave blank)
SMTP Email Mail Host 		(leave blank)
SMTP Email Mail Server Port 	(leave blank)

cPanel (or whatever your webhosting is)
Note: if you don't know how to add MX records, ask your webhost's techsupport.

cPanel Main -> Mail -> Modify Mail Exchanger (MX Entry)

Domain		yoursite.com
MX Entry 	ASPMX.L.GOOGLE.COM

Sometimes they're more than just one. Ask Google for those MX entries (Gmail for your Domain MX Records).

Using myfreemail @gmail.com

ZenCart Admin -> Configuration -> Email Options

E-Mail Transport Method		smtp
SMTP Email Account Mailbox 	(leave blank)
SMTP Email Account Password 	(leave blank)
SMTP Email Mail Host 		smtp.gmail.com
SMTP Email Mail Server Port 	465 (or try 587)

Nothing else to do with your webhost.

I hope I'm right.

16 Oct 2006, 4:31 AM
#42
samad64 avatar

samad64

Totally Zenned

Join Date:
May 2006
Location:
Texas
Posts:
554
Plugin Contributions:
2

Post #42 by samad64

you're right :). There's a nice large list of MX records for Google Mail, but only the first priority is required. Here's a list:

Priority     Value
1            ASPMX.L.GOOGLE.COM.
5            ALT1.ASPMX.L.GOOGLE.COM.
5            ALT2.ASPMX.L.GOOGLE.COM.
10           ASPMX2.GOOGLEMAIL.COM.
10           ASPMX3.GOOGLEMAIL.COM.
10           ASPMX4.GOOGLEMAIL.COM.
10           ASPMX5.GOOGLEMAIL.COM.

From: http://www.google.com/support/a/bin/answer.py?answer=33915

17 Nov 2006, 12:50 AM
#43
idesign99 avatar

idesign99

New Zenner

Join Date:
Sep 2005
Posts:
18
Plugin Contributions:
0

Post #43 by idesign99

I've been trying to set up my email in Zen Cart to work with myfreegmail account. I've tried a number of different combinations based on this thread but nothing is happening. I also have no idea where I can see an error messages about why it isn't going through.

Right now I have changed my MX numbers with my webhost to the Google numbers. I ran a diagnois test using a MX lookup and it all tests out OK.

In Zen Cart I currently have these settings:

E-Mail Transport Method smtp (& sendmail w/o signin and pw info)
SMTP Email Account Mailbox blank (& tried using it too)
SMTP Email Account Password blank (with the pw of course too)
SMTP Email Mail Host smtp.gmail.com
SMTP Email Mail Server Port 465 (& tried 587 & 28)

I don't know if I have to set up anything special in my Gmail account or not. I currently have my gmail with POP enabled (not sure if this matters or not.)

Any help would be greatly appreciated.

17 Nov 2006, 8:49 PM
#44
idesign99 avatar

idesign99

New Zenner

Join Date:
Sep 2005
Posts:
18
Plugin Contributions:
0

Post #44 by idesign99

My problem is fixed. Appears I have to use PHP as the Email Transport.

18 Nov 2006, 5:40 PM
#45
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #45 by ajeh

Just curious ...

Why own a domain then use a cheap looking free email account vs a professional email address(es) from your own domain? :eek:

As a consumer ... I run from sites that use emails unrelated to their own domain ... makes be think the shops is a grab and run business ... :cry:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Dec 2006, 5:44 AM
#46
neteasy avatar

neteasy

Zen Follower

Join Date:
Mar 2004
Location:
Ontario, Canada
Posts:
128
Plugin Contributions:
2

Post #46 by neteasy

redxiii:

Using myfreemail @gmail.com

ZenCart Admin -> Configuration -> Email Options

E-Mail Transport Method smtp
SMTP Email Account Mailbox (leave blank)
SMTP Email Account Password (leave blank)
SMTP Email Mail Host smtp.gmail.com
SMTP Email Mail Server Port 465 (or try 587)

> 
> Nothing else to do with your webhost.
> 
> 
> I hope I'm right.

Has anyone tried this? I have tested gmail and it does not work.

Chinese language pack
Zen Cart **plugins demo** includes Ultimate SEO, Image Handler, Template Switch, Column Layout, Lightbox and Multi-Language EZ-Pages

20 Dec 2006, 6:19 AM
#47
drbyte avatar

drbyte

Sensei

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

Post #47 by drbyte

I mentioned earlier:

DrByte:

From all my testing, I've not made it work.

Google's site says they require TLS/SSL for sending the messages. Zen Cart does not offer this at the email level at the present time.

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

29 Dec 2006, 9:34 PM
#48
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Post #48 by theoracle

I still find this strange in a sense. I did tried with Gmail and it does send the emails without any problems. If all has been properly configured from your email options, I cannot think of anything on why this cannot work as expected. :dontgetit

16 Feb 2007, 1:25 AM
#49
tbianco avatar

tbianco

New Zenner

Join Date:
Jun 2006
Posts:
14
Plugin Contributions:
0

Post #49 by tbianco

redxiii:

Using Gmail-Hosted Mail Service (not that free Gmail account)

ZenCart Admin -> Configuration -> Email Options

E-Mail Transport Method sendmail
SMTP Email Account Mailbox (leave blank)
SMTP Email Account Password (leave blank)
SMTP Email Mail Host (leave blank)
SMTP Email Mail Server Port (leave blank)

> 
> cPanel (or whatever your webhosting is)
> Note: if you don't know how to add MX records, ask your webhost's techsupport.
> 
> cPanel Main -> Mail -> Modify Mail Exchanger (MX Entry)
> 
> ```
Domain		yoursite.com
MX Entry 	ASPMX.L.GOOGLE.COM

Sometimes they're more than just one. Ask Google for those MX entries (Gmail for your Domain MX Records).

.....

I hope I'm right.

I totally hate repeating a thread, but I have my MX records set to gmail. If you take a look:
glo-techinc.com

then you'll see that they should be set up there. However, when I do this:

E-Mail Transport Method		sendmail
SMTP Email Account Mailbox 	(leave blank)
SMTP Email Account Password 	(leave blank)
SMTP Email Mail Host 		(leave blank)
SMTP Email Mail Server Port 	(leave blank)

It still won't send anything. I'm completely stumped. What can I do here. Do I need to change a setting within a source file?

17 Feb 2007, 2:23 PM
#50
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Post #50 by theoracle

It appears Goggle has increased security for sending emails. It is now being handled through HTTPS (which Zen-Cart does not currently have in their functions_email.php file). That said, it is more than simpling editing routines. It has to be added actually. :wink2:

23 Sep 2007, 4:59 PM
#51
kaylala avatar

kaylala

New Zenner

Join Date:
Apr 2006
Location:
Baltimore
Posts:
41
Plugin Contributions:
0

Post #51 by kaylala

Has this issue been updated or resolved? I am having the same problem with using Google has my domain's email host. Google's spam filters are the best, so I don't want to consider going back to my old host.

23 Sep 2007, 7:40 PM
#52
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Post #52 by chuckl

Er, what 'issue' would that be, and what 'same problem' would that be?

23 Sep 2007, 9:20 PM
#53
kaylala avatar

kaylala

New Zenner

Join Date:
Apr 2006
Location:
Baltimore
Posts:
41
Plugin Contributions:
0

Post #53 by kaylala

The issue of Zen Cart not offering TLS support... at least I'm assuming that's the problem based on all of Dr. Bytes posts. The script mentioned above was suggested as a fix, right? Since I switched to Gmail, most of my auto replies and messages sent from the Email editor in Zen Cart are not getting to outside users. I tried changing my Email settings in Zen Cart from sendmail to SMTPAUTH, and I got all sorts of line error messages after trying to send test emails.

23 Sep 2007, 9:58 PM
#54
drbyte avatar

drbyte

Sensei

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

Post #54 by drbyte

TLS support (which will allow Gmail etc) works as of v1.3.8

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

23 Sep 2007, 10:04 PM
#55
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Post #55 by chuckl

You are correct, Zen Cart uses phpMailer as it's mail class, and phpMailer does not support TLS authentication. Nor is it likely to. This is being addressed in future releases of Zen Cart, not just for TLS authenticationbut that obviously doesn't help your current situation.

Sendmail is not the greatest transport to use, mainly because the almost universal default settings are not standardised. smtp or smtpauth to your hosts mail servers would be a better bet, or even PHP. Whichever transport you use, it has to be set up absolutely correctly, and so does your domain mail setup, or you get mail vanishing, spam bin, and all the usual runaround.
Many hosting companies also actively discourage outgoing smtp mail and block every port in sight to prevent it.

Regarding Xpertmailer, mentioned above, I have not used it at all. I looked at it a while back, but it seemed to be a very close cousin of phpMailer, and I'm not overfond of it.

On the general mail setup, the main issues are to not have your mail come from the apache 'user' nobody or www-data, have the correct line endings, and that any email addresses used as from or return path are real email addresses.
On the domain side, MX records for any sending servers, reverse DNS configured correctly, DNS entries and SPF records for any sending servers.

19 Nov 2008, 4:18 AM
#56
navido avatar

navido

Zen Follower

Join Date:
Sep 2008
Posts:
221
Plugin Contributions:
0

Post #56 by navido

Ive been reading this thread for over an hour now just to make it work without success.

i have a gmail hosted mail service ([email protected]) but at "Contact us" page (http://www.fotonavid.org/zen/index.php?main_page=contact_us) when customers send me email i do not get it.

My settings are in admin:

E-Mail Transport Method	sendmail
SMTP Email Account Mailbox 	(leave blank)
SMTP Email Account Password 	(leave blank)
SMTP Email Mail Host 		(leave blank)
SMTP Email Mail Server Port 	(leave blank)

i am using http://www.websitepulse.com/help/testtools.mx-lookup-test.html to look up my entries and i also see these where settings are like this:

Have i missed something? I cannot make it to work I am not expert on these mx things or pop etc.

19 Nov 2008, 8:35 AM
#57
drbyte avatar

drbyte

Sensei

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

Post #57 by drbyte

The gmail tips in this article appear to work fine on a test v1.3.8 site I use: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems#Google_Gmail

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

28 Dec 2008, 6:25 PM
#59
newfu avatar

newfu

New Zenner

Join Date:
Dec 2008
Posts:
36
Plugin Contributions:
0

Post #59 by newfu

so what ? my site doesn't work..

do we need to put smtp.gmail.com as a MX entries ??? for Dr Byte suggestion to work ?

4 Mar 2009, 11:39 PM
#60
zhoos avatar

zhoos

New Zenner

Join Date:
Mar 2009
Posts:
18
Plugin Contributions:
0

Post #60 by zhoos

Hello all,

I hate to revive this topic, but after working out all the different combinations listed in this post, I can't seem to figure out something...

My website is hosted with a webhosting company, but my emails are configured with Google Accounts. MX entries all correct, everything's fine so far.

Upon customer checkout, I have set up <Send Copy of Order Confirmation Emails To> sales@my_domain.com.

If I set my <E-Mail Transport Method> to PHP, upon checkout my TEST CUSTOMER correctly gets the email confirmation. But my sales@my_domain.com DOES NOT get a copy.

PHP seems to be the only way that my customers get any mail sent to them. Using any other combination of SMTP, SMTPAUTH, or Sendmail etc... does not.

Has anybody found a way around this for us to receive emails? Or do I have to regress to the stone age and remove our Google Hosting account? They DO have a ton of email space... and a great calendar and workgroup collaboration system.