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 »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Giving A User Permission to use civiMail
Pages: [1]

Author Topic: Giving A User Permission to use civiMail  (Read 2423 times)

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Giving A User Permission to use civiMail
January 04, 2009, 04:03:02 pm
I'm working on the php based return mail handler (see http://wiki.civicrm.org/confluence/display/CRM/CiviMail+Processor) and am stuck (because I get invalid username/password when testing the polling script) on the need to have a user (me, presumably) with civimail access.  How do I give myself civimail access?  I can find nothing about this in the documentation or from a search.  If I'm the Joomla super administrator, don't I already automatically have civimail access?
« Last Edit: January 04, 2009, 04:06:32 pm by conductorchris »
Thanks to those who help create and enhance civiCRM!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Giving A User Permission to use civiMail
January 04, 2009, 05:22:37 pm
hey chris:

there are 2 sets of passwords. The first set (which u modify in the MailStore.php is the username/password to access your mailbox (imap/pop etc)

The second set to include in the cron command is the 'admin' name and password for the cron script along with the site key. You can also create a 'cron' admin and give it admin level access if u would rather not use your admin password.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Giving A User Permission to use civiMail
January 05, 2009, 10:08:52 am
Thanks!
Problem solved . . . !
Thanks to those who help create and enhance civiCRM!

rdm

  • Guest
Re: Giving A User Permission to use civiMail
January 20, 2009, 03:22:07 am
Hello, I´m new to civicrm and trying to use ver.2.2 (Standalone) with civimail.
I should test http://server.de/civicrm22/bin/CiviMailProcessor.php?name=XXX&pass=XXX&key=xxxxxxxxxxxxxxxx
ok with the key, but which user and password should I use. I even tried it with root.
Allways get : ERROR: Unexpected error, could not match userID and contactID
Thanks for an answer.

cap10morgan

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 9
Re: Giving A User Permission to use civiMail
January 21, 2009, 06:38:09 am
Quote from: rdm on January 20, 2009, 03:22:07 am
Hello, I´m new to civicrm and trying to use ver.2.2 (Standalone) with civimail.
I should test http://server.de/civicrm22/bin/CiviMailProcessor.php?name=XXX&pass=XXX&key=xxxxxxxxxxxxxxxx
ok with the key, but which user and password should I use. I even tried it with root.
Allways get : ERROR: Unexpected error, could not match userID and contactID
Thanks for an answer.

The way API auth works for standalone in 2.2 is you have to assign an api_key to the user you want to have API access. Currently this must be done in the database in the civicrm_contact table (there is a field called api_key). You can put anything you want in there as long as it's a good password string.

Then in your API call (such as the above call to CiviMailProcessor.php), you pass your full OpenID as the username (e.g. http://me.myopenid.com/), the api_key as the password, and the site_key as the key.

Let me know if that doesn't work as I haven't tested it yet with the new CiviMailProcessor.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Giving A User Permission to use civiMail

This forum was archived on 2017-11-26.