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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account
Pages: [1]

Author Topic: CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account  (Read 987 times)

Victor.Odhner

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla 2.5.11
  • MySQL version: Ver 14.14 Distrib 5.6.12, for osx10.7
  • PHP version: PHP 5.4.24 (cli)
CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account
March 19, 2014, 05:06:53 pm
I am working in a test instance of CiviCRM 4.4.4, trying to activate mail sending through a Google Apps account.  So I would be using SMTP to send via our account at smtp.googlemail.com and IMAP to receive bounces via imap.googlemail.com.  But it seems to me that Civi seems to be stuck on my my joomla user name, and an email account and password here on our web server.

In Administer CiviCRM >> "Mail Accounts", when I start enter the Google Apps username, replacing my Joomla name, a tip pops up letting me know that it will "fill password from <our joomla URL>".  After I save the page, the user and password fields again show my Joomla information on a yellow background.

Same thing happens in "Settings - Outbound Mail", when I enter the SMTP Username and password.

Please advise how to override the default user and password.

Victor.Odhner

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla 2.5.11
  • MySQL version: Ver 14.14 Distrib 5.6.12, for osx10.7
  • PHP version: PHP 5.4.24 (cli)
Re: CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account
March 20, 2014, 03:20:09 pm
Sorry, what's described above was a Safari fluke, where it's trying to be helpful by filling in the user ID and password for me.  The problem doesn't occur with Opera.  But I'm still unable to send the test message.  Details in next post.
« Last Edit: March 20, 2014, 03:24:59 pm by Victor.Odhner »

Victor.Odhner

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla 2.5.11
  • MySQL version: Ver 14.14 Distrib 5.6.12, for osx10.7
  • PHP version: PHP 5.4.24 (cli)
Re: CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account
March 20, 2014, 03:54:40 pm
OK, I need some diagnostic hints.

As mentioned above, I am working in a test instance of CiviCRM 4.4.4, trying to activate mail sending through a Google Apps account.  So I would be using SMTP to send via our account at smtp.googlemail.com and IMAP to receive bounces via imap.googlemail.com.

I saw some old posts on similar errors but the conditions are different and the software versions pretty old.

If I check the "Authenticate" box on the SMTP page and the test-send says:
The mail library returned the following error message:
 authentication failure [SMTP: SMTP server does not support authentication (code: 250, response: mx.google.com at your service, [69.28.130.66] SIZE 35882577 8BITMIME XXXXXXXA ENHANCEDSTATUSCODES XXXXXXXB)]

If I un-check "Authenticate," then I get this result:
The mail library returned the following error message:
Failed to set sender: PhoenixCommunityClinic@azpach.org [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings . . .

Maybe although the password looks OK (seems like the right number of asterisks), is there a place I can go at the shell level to view the actual password and user being sent?  (I've worked many years in *nix applications support including web apps and lots of shell and perl, but I have no depth in PHP.)

Any diagnostic suggestions would be greatly appreciated!  I've been promising full email capabilities for a few months now, and don't want to wait for CiviCon to get this running.

Thanks -- Victor

Victor.Odhner

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla 2.5.11
  • MySQL version: Ver 14.14 Distrib 5.6.12, for osx10.7
  • PHP version: PHP 5.4.24 (cli)
Re: CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account
March 22, 2014, 12:31:58 am
It was a mistake for me to post in this very quiet Joomla section.
After hours of searching on the wrong keywords, I went into serial-search mode.  I stumbled on the answer after an hour of poking around in this section:

    Support » Installing CiviCRM » CiviMail installation and configuration

It's a great set of topics.  I'm going to spend more time there, but this one got SMTP working for me:

Quote from: Donald Lobo on February 12, 2008, 10:19:32 am

can you try with the following settings:

SMTP server address : ssl://smtp.gmail.com
SMTP server port: 465
SMTP username: [username@gmail.com/username@yourtlddomain.com]
SMTP password: [yourpassword]

please report back if the above works

ANSWER:  Yep, that did it.
  So while Thunderbird works with googlemail.com, Civi wants ssl://smtp.gmail.com.
  This solved my problem of using SMTP through a Google Apps account.

Thanks, Lobo!

globeseek

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Re: CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account
April 16, 2014, 06:55:47 am
Interesting I used my Server Mail() function for outbound email as I can get 100 per 15 min cron (per agreement with my host)  (google outbound SMTP server limits to 2,000 a day if you have an edu account)  I use the IMAP Service for bounce processing
Works pretty well for me

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • CiviCRM 4.4.4 Unable to configure User/Password for a Google Apps account

This forum was archived on 2017-11-26.