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 CiviMail (Moderator: Piotr Szotkowski) »
  • Civimail config
Pages: [1]

Author Topic: Civimail config  (Read 3554 times)

ktunstall

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Civimail config
April 02, 2012, 09:08:32 am
Not a novice user but I am using 4.1.1 with drupal 7 for the first time.
Other sites I manage use 3.1.1 with drupal 6 without issue (otherwise I would have posted since Feb 2010  :) )
I have read the forum extensively but it only added to my confusion.

First issue, mail box settings.

I created both a bounce and an email to activity email accounts. Bounce is a catch all
Bounces indicate success when cron.php is fired but.....but it simply creates a new contact as opposed to indicating a bounce on an existing contact.

I looked System Settings > Scheduled Jobs and reviewed the report.
One thing caught my eye:
Starting execution of Process Inbound Emails
Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed


As I have not used ehe email to activity function before, please excuse my newbishness.
Is not this function associated with email accounts on the server so that you can record the activity of that user?
i.e. you have a user with the email of john.doe@yourdomain.com and you want inbound activities recorded on user?

This was my assumption and it is how I have it configured.
Regardless, when I invoke the script, I receive the aforementioned error.
I have noticed that if I mail to my test mail box on the server (inbound), a new contact is created with the senders email address. So I know it is picking up the info in the header.

As mentioned, bounce handling is not operating properly.
I attempted a mass mailing and 3 out of 5 recipients received the email.
Tracked open did not function but Click-throughs showed 3 (which was expected).

One of the recipients on this list is a dummy account that I know the address is bad and will indicate "550 No such person at this address" if I email it via my email client. 

Any light which you may shine on the subject would be appreciated.

Regards,

K D Tunstall

ktunstall

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Civimail config
April 06, 2012, 09:03:36 am
applied all patches mentioned here:

http://forum.civicrm.org/index.php/topic,23865.msg100904.html#msg100904

Bounces work in mass mailing, however do not work when email is a result of an action.

Am still getting the aforementioned inbound email processing error:

Starting execution of Process Inbound Emails
Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed

Can someone clarify the email to activity question?

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: Civimail config
April 07, 2012, 12:00:50 pm

two options:

1. do an svn checkout and install in case you missed a patch and/or we forgot to tag 4.1.2. However I would do this only on a test box

2. wait for 4.1.2, we'll try to release this next week

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

ktunstall

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Civimail config
April 10, 2012, 08:00:48 am
Think I have my head wrapped around email to activity.
Since I use thunderbird, this is a win win for me.
Do not know if the plugin will function properly but I am testing now.

I found another issue. It may be related.....maybe not.
Posted as a new issue.
« Last Edit: April 10, 2012, 08:03:38 am by ktunstall »

circlebails

  • I post occasionally
  • **
  • Posts: 42
  • Karma: 0
  • CiviCRM version: 4.1.X 4.2.X
  • CMS version: Drupal-6.X / Drupal-7.X
  • MySQL version: 5.1
  • PHP version: 5.2.16/17, 5.3
Re: Civimail config
April 19, 2012, 04:05:51 am
Well 4.1.2 is out and...

email2activity still doesn't appear to work :(

"Finished execution of Activity processor with result: Failure, Error message: Process Activities failed"

I can see the mailbox in question being opened however nothing fuller.

Bails

toprek

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.1.61
  • PHP version: 5.2.17
Re: Civimail config
April 27, 2012, 02:12:49 am
I've got exactly the same problem. I use a gmail account as an email to activity because the hosting server doesn't allow catch all or sub-adresses.  The job Log shows

0
Summary
Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed
Details

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Civimail config
September 22, 2012, 07:46:55 am
Did anyone find any way to fix this?

This has been dogging us since 4.1.2 - now aiming to upgrade to 4.2.1 which on dev is still having the same problem

sacramentorob

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.63 ubuntu
  • PHP version: 5.3.2 ubuntu
Re: Civimail config
September 23, 2012, 01:11:02 pm
I can get the bounces to process correctly if I manually create the mailstore directories.  I think there is some error in the file permission setting.  It worked fine for me until I changed to 4.2.0.  4.2.1 didn't fix the problem.

I discussed it some here:  http://forum.civicrm.org/index.php/topic,26054.0/topicseen.html


sacramentorob

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.63 ubuntu
  • PHP version: 5.3.2 ubuntu
Re: Civimail config
September 23, 2012, 10:31:29 pm
I got this to work for now by changing the file system permissions and ownership.  Please see the above thread for more details.

best of luck ,

/Rob

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Civimail config
September 24, 2012, 10:00:20 am
Rob, I think you were working on a different issue? Yours was with the bounce processing rather than email to activity processing...

I've been looking for the equivalent file permissions to check - not seeing anything wrong - anyone know if the two issues are at root the same?

Many thanks for chipping in Rob, really appreciate the company!

bartclarkson

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x
Re: Civimail config
September 26, 2012, 04:25:04 pm
Yeah, Rob put me on the right track. Thanks!

I'm using Drupal 7, so the directory I needed to set to 777 was /sites/default/files/civicrm/custom (or whatever you set your Custom Files directory to in the Directories admin screen). I may have overdone it with 777, but the permission issue seems to stand.

Note that you'll fail with exactly the same oblique message if your credentials are wrong.  I chased the death of my script all the way to $this->_transport->authenticate($username, $password); of the Pop3.php file before I realized the password had changed. 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Civimail config

This forum was archived on 2017-11-26.