Print Page | Close Window

Sending Email and Google Apps

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=4747
Printed Date: 01-July-2024 at 4:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sending Email and Google Apps
Posted By: bcrabtree
Subject: Sending Email and Google Apps
Date Posted: 16-September-2011 at 3:33pm
Hi,

I'm having an issue with my email settings.

I'm using google apps for my email and I can send and receive email just fine outside of the site.

When I try to set up CDOSYS or CDO I repeatedly get either a "The transport failed to connect to the server" error. I've also tried "localhost" with no luck.

I believe this has something to do with Googles Authentication requirements:
smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587


Specifically the "Use STARTTLS" requirement. There is no Use STARTTLS or Use Secure Connection option in the email settings, nor have I been able to find that setting in sendmail.asp.

I've searched the forum and all the wiki docs with no luck. Does anyone know how I can make this work?



Replies:
Posted By: Greg Dinger
Date Posted: 16-September-2011 at 3:38pm
Brian - what host are you dealing with here?

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: bcrabtree
Date Posted: 16-September-2011 at 3:42pm
I'm now on HostGator

Was on GoDaddy which was a nightmare, but at least I could send emails...



Posted By: Greg Dinger
Date Posted: 16-September-2011 at 3:51pm
I'm not sure how to help other than the following.  I've just been through a similara scenario on our own servers.  Our solution was to create (which in our environment is very easy) a subdoman such as orders.domainname.com.  then I create an e-mail account mailto:confirmations@orders.domainname.com" rel="nofollow - confirmations@orders.domainname.com .  That e-mail account is used as the FROM address as well as the SMTP AUTH address. 
 
In addition, our mail server is heavily locked down to prevent spam so we had to mess with the parameters sent to the sendmail command on the contact.asp page.  you may or may not run into this particular issue.
 
If the above does not help, I've gone as far as I can here in the forum, and would use this as an illustration of yet another reason to host with someone who knows the application.  http://www.earlyimpact.com/productcart/productcart-hosting.asp" rel="nofollow - http://www.earlyimpact.com/productcart/productcart-hosting.asp


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: bcrabtree
Date Posted: 16-September-2011 at 3:54pm
ok thanks, i'll look into that.

cheers.


Posted By: avalight
Date Posted: 16-December-2011 at 10:35pm
Anybody have any updated information on the google apps email system and productcart.?

-------------
Curt


Posted By: Greg Dinger
Date Posted: 16-December-2011 at 10:51pm
Curt - my experience has been as follows.  Our servers enforce strong restrictions which are designed to avoid sites from being used to relay spam, and thus the mail servers being flagged as spam sources.  One such restriction is that SMTP authentication must be active, and "from mail" account must match "SMTP AUTH" account.  It's been my experience that we cannot seem to authenticate against a Google account.  As such, for those sites whose mail is hosted at Google, we simply set up a subdomain such as confirmations.yourdomain.com, and an account called mailto:orders@confirmations.yourdomain.com" rel="nofollow - orders@confirmations.yourdomain.com .  that seems to work reliably.
 
With that said, what's your issue?


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: shevapippo
Date Posted: 17-December-2011 at 5:13am
same problem here. My email is set up wiith Gmail App however my site is hosted by GoDaddy. I would like to send emails in Product Cart using smtp.gmail.com (with usr and ps) but I can't. I also tried ASPMX.L.GOOGLE.COM, in this case when I test in Product cart it tells me the email was sent but i don't receive it. I also did this (suggested by a friend) but it didn't work.
Download includes/sendmail.asp
change

Flds(" http://schemas.microsoft.com/cdo/configuration/smtpserverport" rel="nofollow - http://schemas.microsoft.com/cdo/configuration/smtpserverport ") = 25

 Change port “25” to “465”

-          find:

 Flds( " http://schemas.microsoft.com/cdo/configuration/sendusing" rel="nofollow - http://schemas.microsoft.com/cdo/configuration/sendusing ") = 1

 -          change “1” to “2”.

-          Add right below codeline:

 

Flds( " http://schemas.microsoft.com/cdo/configuration/smtpusessl%20" rel="nofollow - http://schemas.microsoft.com/cdo/configuration/smtpusessl ") = True

Any chance I will ever be able to stop paying for Godaddy email accounts? These days godaddy email works poorly, I get the registration email then hours later I get (if i'm lucky) the email with the order. Very hard to work like this. 

Gianluca



Posted By: macleather
Date Posted: 17-December-2011 at 12:50pm
Hi There,

We use Google Apps mail with no problems. We host with Greg Dinger of Greybeard and I'm not sure if this only works on his servers but maybe worth a try. Here are the setting we use:




-------------
Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather


Posted By: shevapippo
Date Posted: 17-December-2011 at 1:15pm
Actually my bad, now with the aspmx server everything works fine - apologies for the posting it seems like it needed some time to register the settings but now all works (I am using CDOSYS)
Gianluca


Posted By: shevapippo
Date Posted: 18-December-2011 at 4:45pm
Actually it is still not working!! I use ASMPX, my clients get order confirmation (which means it is working) but I dont' get anything, no notification of registration of new client, no new order email, nothing. I tried using the same email in the from field  that i use in the smtp for gmail but no success. I have tried all possible combination (Cso, Cdosys ), I went back using goddady's smtp, nothing! HELP!


Posted By: macleather
Date Posted: 19-December-2011 at 7:03pm
Check your email account at Google and make sure that it is set as a "catchall" mailbox. That way anything@youremailaddress.com will get to you.

Alan


-------------
Alan
http://www.mcpcustomleather.com - MacPherson Custom Leather


Posted By: Hamish
Date Posted: 23-December-2011 at 9:58am
Hi Gianluca,
  I think the fundamental issue is.... GoDaddy. It works fine for some peole, but for many it's just not good enough. Server setups and support seem inconsistant and are often at the heart of problems. Many have switched away from GoDaddy as the money saved from using cheap hosting is more than offset by the time wasted chasing problems and waiting for support and usually with poorer performing servers, due to them being run close to maxed out with loads of other sites.
Having a well performing website which is stable & reliable is good for your customers, SEO & blood pressure :-)

Whilst there is nothing really special required to host ProductCart I know many have chosen to switch to hosting with smaller companies who specialize in hosting/supporting ProductCart. They cost a bit more, but the servers are generally more lightly loaded and you get support from someone who understands the application. We are forever getting tickets when the issue is hosting related, but very very rarely see them from the better hosts.
Many of our resellers also provide good quality hosting (see http://www.earlyimpact.com/productcart/partners-dev.asp" rel="nofollow - http://www.earlyimpact.com/productcart/partners-dev.asp ) and some also are very active on this forum.

As one of them likes to say (and I agree) "friends don't let friends host at GoDaddy".
Of course YMMV with GoDaddy :-)
         


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net