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 21 to 40 of 73
This thread is locked. New replies are disabled.
10 Oct 2006, 3:05 AM
#21
redxiii avatar

redxiii

New Zenner

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

Post #21 by redxiii

I have the same problem too.

Files are hosted in HostGator (they use cPanel).

The mail is supposedly managed by Google Apps for Your Domain.

I've already asked HostGator to add these (seven) MX records stuff and so they did. Still, didn't send any mail out.

Tried SMTP. 465, 587, 28, no luck on any ports and smtp/auth combinations.

I need some configuration steps from anyone who successfully did this.

Thanks in advance.

11 Oct 2006, 4:14 AM
#22
drbyte avatar

drbyte

Sensei

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

Post #22 by 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.

11 Oct 2006, 6:34 AM
#23
redxiii avatar

redxiii

New Zenner

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

Post #23 by redxiii

The sendmail method (no need for smtp information) works but is buggy. The shop system successfully delivers mail only to addresses that does not belong to my site domain (yahoo, gmail, lycos, etc.) but not to addresses with @mydomain.com.

11 Oct 2006, 7:07 AM
#24
samad64 avatar

samad64

Totally Zenned

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

Post #24 by samad64

redxiii:

I have the same problem too.

Files are hosted in HostGator (they use cPanel).

The mail is supposedly managed by Google Apps for Your Domain.

I've already asked HostGator to add these (seven) MX records stuff and so they did. Still, didn't send any mail out.

Tried SMTP. 465, 587, 28, no luck on any ports and smtp/auth combinations.

I need some configuration steps from anyone who successfully did this.

Thanks in advance.

redxiii,

I am currently hosted on Hostgator as well. This is what works for me:

Change the MX setting in your CPANEL to be pointed to Google hosted mail. It should be the highest priority (0 or 1).. can't remember the exact record.

Now, go into zencart and choose sendmail. No need for any smtp stuff

Try a few test orders.. i've been getting e-mails on my google hosted service after setting it up like that. I think with some of these hosts, when you set it in cpanel it automatically tells the sendmail script that the domain does not reside on this server, or at least the MX records dont. I'm not too familiar w/ how the mail system works.. but just out of experience that has worked for me. your mileage may vary, especially seeing as hostgator attempted to manually put in those records

11 Oct 2006, 7:28 AM
#25
redxiii avatar

redxiii

New Zenner

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

Post #25 by redxiii

Thanks pal. I knew that should have been sendmail. :yes:
I set it up and told HostGator to recheck the MX records.
They finally fixed it for me.

They told me that the email not being sent out to Google from the local box was because my domain was not listed in remotedomains. I don't really know what they did there but it's working now. I even tried looking at cPanel where this remote domain is but I haven't seen it.

I even wondered why only one of the many MX entries appear in cPanel. HostGator tells it only shows the first MX record there. Sez they have no control over that.

Again, thanks Doc and gyghdotcom.

11 Oct 2006, 4:56 PM
#26
samad64 avatar

samad64

Totally Zenned

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

Post #26 by samad64

not a problem,

yeah only one MX entry really needs to be in there.. I'm only using the first one and all my e-mails come through fine :). when you add it in cpanel, it automatically makes it a 'remote domain', at least from my understanding it does

14 Oct 2006, 5:17 AM
#27
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Post #27 by samhuang

I have the same problem. BUT one of my website hoste dby TRUST4E can send email by gmail. Another website hosted by SASHBOX can't send email by gmail. Anyway, I contact SASHBOX support, but they don't get back to me now. I hope change the MX will help me.

14 Oct 2006, 6:35 AM
#28
samad64 avatar

samad64

Totally Zenned

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

Post #28 by samad64

do you have cPanel access? If so you can modify it yourself (if its not disabled)

14 Oct 2006, 6:50 AM
#29
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Post #29 by samhuang

Yes, I can access. Now i configure the MX to smtp.gmail.com. In the "Email Option" of Zen Cart. I set "E-Mail Transport Method" to "sendmail".
After i configure and test the email. My gmail got a mail by "[email protected]", the subject is "Mail failure - no recipient addresses"

Do I need to configure the parameter of SMTP, such as "SMTP Email Account Mailbox", "SMTP Email Mail Host", "SMTP Email Mail Server Port", "SMTP Email Account Password'?

Thanks

14 Oct 2006, 6:54 AM
#30
samad64 avatar

samad64

Totally Zenned

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

Post #30 by samad64

samhuang:

Yes, I can access. Now i configure the MX to smtp.gmail.com. In the "Email Option" of Zen Cart. I set "E-Mail Transport Method" to "sendmail".
After i configure and test the email. My gmail got a mail by "[email protected]", the subject is "Mail failure - no recipient addresses"

Do I need to configure the parameter of SMTP, such as "SMTP Email Account Mailbox", "SMTP Email Mail Host", "SMTP Email Mail Server Port", "SMTP Email Account Password'?

Thanks

I don't understand why you set MX to smtp.gmail.com.. and you can't access MX from the ZC admin interface. smtp.gmail.com is NOT an MX record.. its an smtp server. An MX record looks like this: ASPMX.L.GOOGLE.COM .. this would go in your cPanel, not your Zencart Admin panel

if you are using smtp, you will need to configure username, password, etc. Right now you are set to sendmail, so you don't need to configure it

14 Oct 2006, 6:58 AM
#31
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Post #31 by samhuang

Hi,

My set up in your ZC is
E-Mail Transport Method sendmail
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password ********
SMTP Email Mail Host smtp.gmail.com
SMTP Email Mail Server Port 465

14 Oct 2006, 7:01 AM
#32
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Post #32 by samhuang

:ohmy: I go to my CPanel and set the MX to stmp.gmail.com. Do you mean i must set the MX to ASPMX.L.GOOGLE.COM?

14 Oct 2006, 7:02 AM
#33
samad64 avatar

samad64

Totally Zenned

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

Post #33 by samad64

samhuang:

Hi,

My set up in your ZC is
E-Mail Transport Method sendmail
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password ********
SMTP Email Mail Host smtp.gmail.com
SMTP Email Mail Server Port 465

OK.. e-mail transport method should be SMTPAUTH and not sendmail.. sendmail you're still using the server you're on to send it :P. With SMTPAUTH, it goes to the gmail server and tries to send it. I haven't tried it myself but I don't see why it wouldn't work, only thing I can think of is SSL

14 Oct 2006, 7:03 AM
#34
samad64 avatar

samad64

Totally Zenned

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

Post #34 by samad64

samhuang:

:ohmy: I go to my CPanel and set the MX to stmp.gmail.com. Do you mean i must set the MX to ASPMX.L.GOOGLE.COM?

If your e-mail is hosted by google (meaning your domain name is hosted by them for email).. then yes you need to. If its not, you need to change that back to default because its going to mess stuff up for you

http://mail.google.com/hosted/YOURDOMAINGOESHERE.com/net/org

^^ if you access mail by going to that link, then yes you will need the ASPMX. If not, you need the default value in there

14 Oct 2006, 7:17 AM
#35
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Post #35 by samhuang

The gmail is my private gmail. I reset my MX to default.
Now I set up:
E-Mail Transport Method smtpauth

But I test the email. My gmail still can't get the test mail

I really don't know what happen?

I setup gmail on my another website powerer by ZC Hosted by Trust4E . My gmail can get all the mail.

14 Oct 2006, 7:20 AM
#36
samad64 avatar

samad64

Totally Zenned

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

Post #36 by samad64

can you check to make sure the settings are the same on the one on Trust4E and on Sashbox? Only the settings in the admin panel are really required for SMTP useage

14 Oct 2006, 8:24 AM
#37
samhuang avatar

samhuang

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Post #37 by samhuang

Hi, the setting of SASHBOX and TRUST4E is the same

14 Oct 2006, 9:04 AM
#38
raino avatar

raino

New Zenner

Join Date:
Jun 2005
Posts:
8
Plugin Contributions:
0

Post #38 by raino

i set the email more than 30 times, but can't send and recieve email till now.

who can help me.

15 Oct 2006, 1:42 PM
#39
theoracle avatar

theoracle

Suspended

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

Post #39 by theoracle

I also tried Zen-Cart with Gmail. Seems to work great though. Make sure you have NOT created any email filters from your Gmail account and do NOT enter any SMTPAuth configuration from your configuration - > email options page. Leave it as standard SMTP settings. Do NOT enter any login name and password from that page. Leave it as is.

If the sending port number causes you trouble, simply follow Google's documentation on how to set the correct port for sending emails.

Everything should work from there. :wink2:

15 Oct 2006, 9:46 PM
#40
samad64 avatar

samad64

Totally Zenned

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

Post #40 by samad64

TheOracle:

I also tried Zen-Cart with Gmail. Seems to work great though. Make sure you have NOT created any email filters from your Gmail account and do NOT enter any SMTPAuth configuration from your configuration - > email options page. Leave it as standard SMTP settings. Do NOT enter any login name and password from that page. Leave it as is.

If the sending port number causes you trouble, simply follow Google's documentation on how to set the correct port for sending emails.

Everything should work from there. :wink2:

Ah, so its just SMTP - not SMTPAuth. Sorry about that samhuang! I figured it would be auth but I hadn't looked into it too much