CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • SMTP mail errors with mail on TLD, and CiviCRM on subdomain?
Pages: [1]

Author Topic: SMTP mail errors with mail on TLD, and CiviCRM on subdomain?  (Read 1150 times)

mhm

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
SMTP mail errors with mail on TLD, and CiviCRM on subdomain?
January 31, 2010, 07:04:42 pm
We are currently setting up a testing environment at test.example.com, running Drupal/CiviCRM. We currently run our soon-to-be-replaced static, html site at example.com
Our mail runs through Google Apps (education edition) @example.com

I am trying to configure the SMTP settings for Drupal/CiviCRM, following both the instructions here, + Google's. I also manage a website running Drupal/CiviCRM for another org (where we don't have this problem, but everything is on the tld), so have been able to copy settings directly from there as well.  Once configured, I get various errors along these lines:
Code: [Select]
The mail library returned the following error message:
authentication failure [SMTP: Authentication failed. (code: 221, response: 2.0.0 closing connection 8sm1537832yxb.43)]

Could this be an issue related to the tld Google Apps/email, vs. the subdomain install of Drupal?  If so, is there an easy workaround, or while we're in the testing phase, would it just be best to set up an email on the subdomain? (While this is mostly going to be a testing environment until May, we would like to use some of the membership features (with our members) before the final roll-out, so we'll ultimately want it realistically functional.)

mhm

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
Re: SMTP mail errors with mail on TLD, and CiviCRM on subdomain?
February 02, 2010, 06:44:39 pm
Oh, and this is CiviCRM 3.1.1 on Drupal 6.15.
Okay, well, I tried setting the email up on the same subdomain as the CiviCRM install, just on the off chance it would fix things, and didn't help.  

Sigh.

No response from Google on what this could be.

I've tried the solution at http://forum.civicrm.org/index.php/topic,2265.0.html and that hasn't resolved this either.

The "Save and send test email" option isn't throwing anything useful into the logs. When I set up a contribution page to send an email automatically, the error is:
Code: [Select]
$Fatal Error Details = Array ( [callback] => Array ( [0] => CRM_Core_Error [1] => handle ) [code] => [message] => not connected [mode] => 16 [debug_info] => [type] => PEAR_Error [user_info] => [to_string] => [pear_error: message="not connected" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""] )
What else can I try?[/code]
« Last Edit: February 02, 2010, 06:46:46 pm by mhm »

mhm

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
Re: SMTP mail errors with mail on TLD, and CiviCRM on subdomain?
February 04, 2010, 08:44:42 pm
Well, I'm continuing to talk to myself here, but hopefully this will help someone else. I do hate seeing threads where a solution seems to have existed, yet the poster didn't bother to share it.
I haven't been able to resolve things with the SMTP settings. Somehow, switching to Sendmail made everything work (which continues to astound me, since SMTP works great on the other Drupal/CiviCRM site I manage (on the same host), and Sendmail won't work there).  Weird, but I'll take it!  ;)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • SMTP mail errors with mail on TLD, and CiviCRM on subdomain?

This forum was archived on 2017-11-26.