-
SMTP-Auth & Gmail Issues
I am using Google Hosted services for my website allenhuntshow.com. I am trying to setup a Zen-Cart interface using an Authorize.net processor. I have got most of it running EXCEPT I can't get it to send e-mail confirming orders, sending passwords, or anything. I have searched all the forums for about an hour but none seem to deal with my version of Zen-Cart (which is 1.3.5)
I am using Site5 as my host. Here is my config settings:
E-Mail Transport Method smtpauth
E-Mail Linefeeds LF
Use MIME HTML When Sending Emails false
Verify E-Mail Addresses Through DNS false
Send E-Mails true
Email Archiving Active? false
E-Mail Friendly-Errors false
Email Address (Displayed to Contact you) ecommerce AT allenhuntshow DOT com
Email Address (sent FROM) ecommerce AT allenhuntshow DOT com
Emails must send from known domain? No
Email Admin Format? HTML
Send Copy of Order Confirmation Emails To ecommerce AT allenhuntshow DOT com
Send Copy of Create Account Emails To - Status 0
Send Copy of Create Account Emails To ecommerce AT allenhuntshow DOT com
Send Copy of Tell a Friend Emails To - Status 0
Send Copy of Tell a Friend Emails To ecommerce AT allenhuntshow DOT com
Send Copy of Customer GV Send Emails To - Status 0
Send Copy of Customer GV Send Emails To ecommerce AT allenhuntshow DOT com
Send Copy of Admin GV Mail Emails To - Status 0
Send Copy of Customer Admin GV Mail Emails To ecommerce AT allenhuntshow DOT com
Send Copy of Admin Discount Coupon Mail Emails To - Status 0
Send Copy of Customer Admin Discount Coupon Mail Emails To ecommerce AT allenhuntshow DOT com
Send Copy of Admin Orders Status Emails To - Status 0
Send Copy of Admin Orders Status Emails To ecommerce AT allenhuntshow DOT com
Send Notice of Pending Reviews Emails To - Status 0
Send Notice of Pending Reviews Emails To ecommerce AT allenhuntshow DOT com
Set "Contact Us" Email Dropdown List
Allow Guest To Tell A Friend false
Contact Us - Show Store Name and Address 1
Send Low Stock Emails 0 Info
Send Low Stock Emails To ecommerce AT allenhuntshow DOT com
Display "Newsletter Unsubscribe" Link? false
Audience-Select Count Display true
SMTP Email Account Mailbox ecommerce AT allenhuntshow DOT com
SMTP Email Account Password ******
SMTP Email Mail Host stmp.gmail.com
SMTP Email Mail Server Port 465
Convert currencies for Text emails £,£:€,€
I get no error messages, nothing. It says it sends, but it never arrives! Any help would be greatly appreciated.
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by Sectim42
SMTP Email Mail Host stmp.gmail.com
SMTP Email Mail Server Port 465
1. is it "smtp" or "stmp" ? Normally it would be "smtp".
2. Did Google tell you to use port 465?
-
Re: SMTP-Auth & Gmail Issues
It is SMTP...sorry...in my attempts to troubleshoot the issue I re-entered the smtp address, but I did it wrong. It doesn't work when it is typed correctly either (smtp.gmail.com)
Yes, Google tells us to use 465. I also tried 25 just to see if it by chance worked, but neither worked.
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by Sectim42
I am using Google Hosted services for my website
.....
I am using Site5 as my host.
Um, who's Site5 vs Google Hosted Services?
-
Re: SMTP-Auth & Gmail Issues
/includes/functions/functions_email.php
line 22 says:
Code:
define('EMAIL_SYSTEM_DEBUG','0');
Try setting this to '4' temporarily (instead of '0')
Then test placing an order and see what happens for emailing.
-
Re: SMTP-Auth & Gmail Issues
Man I am just a wreck tonight...sorry...thanks for your patience.
The Zen-Cart resides on a Site5 server. The DNS from the registrar points to Site5's DNS servers (ns.site5.com and ns2.site5.com). The MX records are then handled by Site5 which point to Google's Mail Hosting for our domain (which of course is in Beta testing, but then again, Gmail has been in beta testing for years!). So while the site's files are handled by Site5, the e-mail is handled by Google. I can POP/SMTP using Microsoft Entourage/Outlook using the login name as an e-mail address, password, smtp.gmail.com and port 465. That works with no problems. This on the other hand, I just can't get to work.
Does that make sense or am I still speaking jibberish.
-
Re: SMTP-Auth & Gmail Issues
Also, just so you know, in my version of Zen-Cart (1.3.5), line 22 is blank (ok it has a * )
But I think what you are talking about is line 17 in my version which currently says
Code:
define('EMAIL_SYSTEM_DEBUG','off');
I will change that to
Code:
define('EMAIL_SYSTEM_DEBUG','4');
And then see what happens
-
Re: SMTP-Auth & Gmail Issues
I did that and placed an order. I got the Authorize.net e-mail, but I did not get any e-mail from the Zen-Cart confirming the order. Zen-Cart says (under the Order section) that an e-mail was sent out but I never received it. I am not really sure what I am looking for in relation to the debugging? Is there a log somewhere?
-
1 Attachment(s)
Re: SMTP-Auth & Gmail Issues
Try this revised version of functions_email.php:
-
Re: SMTP-Auth & Gmail Issues
After uploading the new file to /includes/functions/ and then trying to send an e-mail I get a page that says "Email error:" I checked the source and all that is to the page is
HTML Code:
<br /><br />Email error:
Was I suppose to change anything?
-
Re: SMTP-Auth & Gmail Issues
When I changed the DEBUG to '4' I got this above the "Email error:"
Code:
SMTP -> FROM SERVER: SMTP -> FROM SERVER: SMTP ->
ERROR: EHLO not accepted from server:SMTP -> FROM SERVER: SMTP ->
ERROR: HELO not accepted from server: SMTP -> ERROR: AUTH not accepted from server: SMTP ->
NOTICE: EOF caught while checking if connected
-
Re: SMTP-Auth & Gmail Issues
That suggests that your connection to the mail server is being refused.
-
Re: SMTP-Auth & Gmail Issues
Do you know of any reason that would do that I can look into. I know for sure the address is correct, the password is correct, the port is correct and the smtp address is correct. Would it have something to do with the fact Gmail likes to have a "POP" access before a SMTP access? Is there anyway to force a POP access before sending. I heard something like once POP authorization clears, it adds the IP address to an accepted list for 30 minutes or something like that.
If that is just jibberish do you have any other suggestions?
-
Re: SMTP-Auth & Gmail Issues
Yes, forcing a POP connection first is one method that might be required.
Have you tried port 25 ?
I would have expected the output to at least show the gmail servername
-
Re: SMTP-Auth & Gmail Issues
Granted, gmail's website says they want STARTTLS ... which Zen Cart doesn't do.
http://mail.google.com/support/bin/a...y?answer=13287
-
Re: SMTP-Auth & Gmail Issues
I have tried Port 25. No luck. Ok and after taking a step back a rereading the Gmail instructions in a very detailed fashion, I realized one oversight might be is that they require an secure (SSL) connection to be checked when using Outlook/Entourage/Thunderbird. Would this be the problem I am looking at?
Also, how do I force POP first using Zen-Cart?
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by DrByte
So...basically I am screwed. Well, I will try to figure out another solution. I really like our domain being hosted by Gmail, but I will try and figure out one account I can have that is hosted elsewhere that doesn't require an SSL connection?
Don't spend a lot of time on this answer, but since you seem to be a Zen-Cart master, do you have any practical suggestions at this point?
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by Sectim42
do you have any practical suggestions at this point?
Yes ... a traditional email account :P
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by DrByte
Yes ... a traditional email account :P
Yeah I figured that was going to be the suggestion. I was just trying to keep everything on one domain, but we have both allenhuntshow.com and theallenhuntshow.com so I'll just setup ecommerce@theallenhuntshow.com to be on a traditional account and all the rest of the e-mails at just allenhuntshow.com. Because I am pretty sure I don't know how to setup up ecommerice AT allenhuntshow DOT com to be setup on a traditional e-mail account where as everything else on the domain on Gmail.
Thanks for all your help - it isn't quite the answer I was looking for, but at least I can go to bed (at 2 am) not contemplating how to solve the problem thus keeping me up for another two hours.
-
Re: SMTP-Auth & Gmail Issues
I was having the same problems as well, but I fixed them by contacting my host. The problem you're having is get emails from your domain to your domain. I bet if you went on cpanel and looked at your webmail it would all be sitting there.
I believe your host has to change the mailserver to a smarthost so that all the email goes to your gmail hosted box.
In the admin email section of zencart I still have everything set up like before, so I don't think you necessarily need to change that to gmail info.
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted 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.
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
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
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
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
do you have cPanel access? If so you can modify it yourself (if its not disabled)
-
Re: SMTP-Auth & Gmail Issues
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
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted 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
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
-
Re: SMTP-Auth & Gmail Issues
Hi,
My set up in your ZC is
E-Mail Transport Method sendmail
SMTP Email Account Mailbox enjoyhobbies AT gmail DOT com
SMTP Email Account Password ********
SMTP Email Mail Host smtp.gmail.com
SMTP Email Mail Server Port 465
-
Re: SMTP-Auth & Gmail Issues
: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?
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by
samhuang
Hi,
My set up in your ZC is
E-Mail Transport Method sendmail
SMTP Email Account Mailbox enjoyhobbies AT gmail DOT com
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
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted 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?
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/YOURDO...RE.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
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
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
-
Re: SMTP-Auth & Gmail Issues
Hi, the setting of SASHBOX and TRUST4E is the same
-
Re: SMTP-Auth & Gmail Issues
i set the email more than 30 times, but can't send and recieve email till now.
who can help me.
-
Re: SMTP-Auth & Gmail Issues
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:
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted 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:
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
-
Re: SMTP-Auth & Gmail Issues
Using Gmail-Hosted Mail Service (not that free Gmail account)
ZenCart Admin -> Configuration -> Email Options
Code:
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)
Code:
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 ######################
ZenCart Admin -> Configuration -> Email Options
Code:
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.
-
Re: SMTP-Auth & Gmail Issues
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:
Code:
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/...y?answer=33915
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
My problem is fixed. Appears I have to use PHP as the Email Transport.
-
Re: SMTP-Auth & Gmail Issues
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:
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by
redxiii
Using myfreemail ######################
ZenCart Admin -> Configuration -> Email Options
Code:
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.
-
Re: SMTP-Auth & Gmail Issues
I mentioned earlier:
Quote:
Originally Posted 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.
-
Re: SMTP-Auth & Gmail Issues
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
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by
redxiii
Using Gmail-Hosted Mail Service (not that free Gmail account)
ZenCart Admin -> Configuration -> Email Options
Code:
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)
Code:
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:
Code:
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?
-
Re: SMTP-Auth & Gmail Issues
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:
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
Er, what 'issue' would that be, and what 'same problem' would that be?
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
TLS support (which will allow Gmail etc) works as of v1.3.8
-
Re: SMTP-Auth & Gmail Issues
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.
-
Mx entries with gmail- not able to send
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.p...age=contact_us) when customers send me email i do not get it.
My settings are in admin:
Code:
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/tes...okup-test.html to look up my entries and i also see these where settings are like this:
http://i238.photobucket.com/albums/f...82/mxentry.jpg
Have i missed something? I cannot make it to work I am not expert on these mx things or pop etc.
-
Re: Mx entries with gmail- not able to send
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.p...s#Google_Gmail
-
Re: Mx entries with gmail- not able to send
Quote:
Originally Posted by
DrByte
That tip is for gmail free accounts isnt it? Mine is hosted. Page 5 on this thread shows something else on settings.
-
Re: Mx entries with gmail- not able to send
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 ?
-
Re: SMTP-Auth & Gmail Issues
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.
-
Re: SMTP-Auth & Gmail Issues
btw - yes we NEED to keep a copy of email confirmations that the customer has received.
Many thanks all for helping! Really appreciate it!
-
Re: SMTP-Auth & Gmail Issues
It's unclear from your post what exactly's going on. You seem to be mixing up your hosting account, your Google account, something about the stone age, and calendars and workgroups ... all while complaining about emails not arriving for just certain recipients.
Perhaps you could clarify with a lot more detail, including but not limited to the following:
a) who is your hosting company? You mentioned "My website is hosted with a webhosting company" ... and then you said " and remove our Google Hosting account" ... So ... which is it?
b) is "sales@my_domain.com" an email address on your hosting account "hosted with a webhosting company"? or is it a Google email account?
c) what is your "sent FROM" email address set to? Is that a valid email account on the server running your Zen Cart store? or is it on another server? or is it a Google account? or what?
d) What have you set for "Emails must send from known domain"?
e) Have you read the email troubleshooting article? http://www.zen-cart.com/wiki/index.p...Email_Problems Have you implemented the various troubleshooting suggestions? What were the results?
f) Have you involved one or more of your hosting companies to find out where your emails are actually going when they allegedly don't arrive to you?
-
Re: SMTP-Auth & Gmail Issues
Hi DrByte - thanks for the help!
I apologize. Let me try to be clear again.
a. Our webhost server is with CYBERAXIS. It's something like a HostMonster or GoDaddy.
Our emails are with Google Accounts. You know, you go into google.com/a/ and direct all your email accounts there. So right now my mail@my_domain.com is with Google. Having a google account for my domain name allows us to have emails using the gmail front end, host our emails with the google servers (7gbs right now I think), use the google calendar system, and have google documents for use and collaboration with other people with the same domain name.
b. sales@my_domain.com is a google email account. The domain name is registered with the webhosting company, but ... how do I explain... we used Google Accounts for our emails and put our MX entry to ASPMX.L.GOOGLE.COM and now all our emails are hosted on Google.
c. My sent from address is "info@my_domain.com" and it's a valid email that I've set up in Google Accounts. In fact, all emails that are currently being sent out via PHP now, for example, the Welcome to MY_WEBSITE email, or Customer Confirmation Emails all reflect that the emails come from info@my_domain.com.
d. I've tried both YES and NO Didn't work on all email transport methods. Currently selecting PHP the "Emails must send from known domain" is set to YES, and my customers get emails but none of my accounts get a copy of emails sent, or emails via the CONTACT US link.
e. Yes - I've read this, and even saw the section of "Google Gmail", which is sad. Setting up SMTPAUTH with the recommended settings did not address the issue at all. The Test Customer did not receive any emails using the settings.
f. Sad to say, my hosting company hasn't gotten back to me yet about where the emails are going, but am still waiting for replies.
If hosting our emails at Google Accounts denies Zen Cart from automatically sending ourselves emails, what solutions do we have? What should we do?
-
Re: SMTP-Auth & Gmail Issues
Sounds like a classic case of spoofing your email address. You're pretending to send emails from my_domain.com when your email accounts are really hosted elsewhere entirely.
And, thus, an MTA somewhere in the chain of delivering the emails is checking to see whether the server you're sending from is allowed to pretend to be you, and rejecting things when they look wrong.
Maybe you need to make some adjustments to your SPF record to allow your webserver to impersonate your google email account.
-
Re: SMTP-Auth & Gmail Issues
I don't get it - from the reading of this thread, many people have the same problem as I do. So does that mean they all have the same problem of "spoofing the email address"? Is that what happens when we use google accounts as our email host?
What does it mean to "make some adjustments to your SPF record to allow your webserver to impersonate your google email account"?
Yes - I'm not well versed in server tech, php etc. Sorry...
-
Re: SMTP-Auth & Gmail Issues
SPF is described as:
Quote:
SPF will specify which machines are authorized to send email from your domain(s). This means that only mail sent through this server will appear as valid mail from your domain(s) when the SPF records are checked.
-
Re: SMTP-Auth & Gmail Issues
Okay I guess I've been using the term "Google Account" too much. I did a search and it's really "Google Apps."
-
Re: SMTP-Auth & Gmail Issues
I'VE GOT A WORKAROUND FOR THIS PROBLEM!
Any emails that you need Zen Cart 1.38 to auto-send to you, should NOT be in Google Apps.
For example, the email address you put for the following:
Email Address (Displayed to Contact you)
Email Address (sent FROM)
Send Copy of Order Confirmation Emails To
Send Copy of Create Account Emails To
Send Copy of Tell a Friend Emails To
Send Copy of Customer GV Send Emails To
Send Copy of Customer Admin GV Mail Emails To
Send Copy of Admin Discount Coupon Mail Emails To -
Send Copy of Customer Admin Discount Coupon Mail Emails
Send Copy of Admin Orders Status Emails To
Send Notice of Pending Reviews Emails To
IF YOU WANT TO USE SMTPAUTH:
1. For Email Transport Method, set it to SMTPAUTH. Any other format will not allow you to both SEND and RECEIVE.
2. Set up these email addresses in your CPanel, or your WebHosting admin site.
3. Once done, they should have SMTP Host, Server Port info for you. You need to use their NON-SSL info. For me it was mail.mydomain.com and port 25.
IF YOU WANT TO USE PHP:
1. For Email Transport Method, set it to PHP.
2. Set up the above email addresses in your CPanel, or your WebHosting admin site.
3. YOU DO NOT NEED to put in your SMTP Host, Server Port info, etc.
4. Run some tests, and log into your account on your CPanel or Webhost sites and see if you received the emails.
IF YOU STILL WANT TO USE GOOGLE APPS:
You can use them for your personal emails i.e. [email protected] that is hosted on Google apps. However, if you configured your Zen Cart to automatically send you any emails into any email account hosted by Google Apps, you will NOT receive it.
Which means, for example [email protected] (where you receive system messages) or [email protected] (where you receive sales confirmations) or wadever that you configured for the "SEND COPY" categories, will never be received on Google Apps. The emails will instead, appear in your webhost-based email account.
Remember, the email accounts you have in Google Apps will never receive any system messages from Zen Cart. You can use them only for personal emails only (at least for 1.38 version).
Let's hope to see full compatibility for both Google Apps and Zen Cart in the next version (1.4)!
-
Re: SMTP-Auth & Gmail Issues
So, you're basically saying ... don't use Google Apps for your webstore email addresses. Instead, use traditional email accounts ... that is, an email account ON the same server as your store. That way your store isn't trying to impersonate email from another domain (since impersonation is seen as spam and gets rejected).
That's the same thing I advised earlier.
I'm glad you sorted it out in your head :)
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by
DrByte
So, you're basically saying ... don't use Google Apps for your webstore email addresses. Instead, use traditional email accounts ... that is, an email account ON the same server as your store. That way your store isn't trying to impersonate email from another domain (since impersonation is seen as spam and gets rejected).
That's the same thing I advised earlier.
I'm glad you sorted it out in your head :)
FYI, Not sure if something has changed in the mean time, but I've gotten Google Apps Mail to work! It seems to work great too!
PHP transport mode
Set host (cPanel) MX server entry for my account to the previously mentioned Google servers:
1 ASPMX.L.GOOGLE.COM
10 ALT1.ASPMX.L.GOOGLE.COM
SMTP server to Google's: smtp.gmail.com
Port: 465
I made sure to set all my e-mail address entry's to the same as my login: [email protected] (an additional account I set up just for this purpose - I then forward all mail to a different acct.
www.soclicheboutique.com/store
Thanks to everyone who responded to this thread until now - its what got me here.
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by
essavant
FYI, Not sure if something has changed in the mean time, but I've gotten Google Apps Mail to work! It seems to work great too!
PHP transport mode
Set host (cPanel) MX server entry for my account to the previously mentioned Google servers:
1 ASPMX.L.GOOGLE.COM
10 ALT1.ASPMX.L.GOOGLE.COM
SMTP server to Google's: smtp.gmail.com
Port: 465
After changing the MX servers to those specified by google, using PHP as the transport method worked fine with cpanel for me too.
:)
-
Re: SMTP-Auth & Gmail Issues
I hate to use the server's email as this makes me dependent on my server for the rest of my life.
This one did the trick although no extensive tests yet:
http://www.zen-cart.com/wiki/index.p...s#Google_Gmail
Quote:
Google Gmail
Gmail wants an SSL/TLS connection, which is not offered by Zen Cart. Nevertheless, you may or may not have some success with the following:
Set up as SMTPAUTH, with your gmail username/password.
• SMTP Host: smtp.gmail.com
• SMTP Port 465 or 587
More technical information is available in Google's Help Center
You may have to have your host make some changes if you are using Google hosted mail.
:clap::clap::clap:
-
Re: SMTP-Auth & Gmail Issues
Quote:
Originally Posted by
emarketingeu
I hate to use the server's email as this makes me dependent on my server for the rest of my life.
I'm not sure how that statement is really relevant.
LOL ... interesting the irony of your statement ... in trying to avoid "dependence on your server" you're making yourself "dependent on Big G" ... which is far less safe or sane if you read their TOS fine print.
At least using your own server gives you control over your data. Using the big G gives you none.
Regardless, glad you found an answer to your personal goal to support your personal preference.