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) »
  • Bounce processing fails: Mandatory key(s) missing from params array: body
Pages: [1]

Author Topic: Bounce processing fails: Mandatory key(s) missing from params array: body  (Read 866 times)

Stijn | Yichalal

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: MySQL version 5.1.66
  • PHP version: 5.3.3-7+squeeze15
Bounce processing fails: Mandatory key(s) missing from params array: body
January 08, 2013, 01:41:19 am
I (or actually Xavier) finally got the bounce processing working on my installation. That is to a certain level it is working now.
Now when we try to run the fetch bounces command
Code: [Select]
php /var/www/site/public/sites/all/modules/civicrm/bin/cli.php -u user -p password -e Job -a fetch_bounces
for every mail in the inbox I get
Code: [Select]
Action: b, Job ID: 51, Queue ID: 31847, Hash: 9e55a8c7aeca830a. Reason: Mandatory key(s) missing from params array: body
though clearly the e-mail does have a body.
Actually I have absolutely no clue where to start looking, but I did find this issue.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Bounce processing fails: Mandatory key(s) missing from params array: body
January 08, 2013, 02:03:51 am
It is probably not related, but the bounce processor didn't do anything when using imap, the problem described above is when using pop.

Are we the only ones experiencing it? The config is a rather standard D7 mono site, we didn't find anything weird.

Before digging too deep into it, wanted to check if the problem was already identified/fixed.

This issue seems to be related, but was happening to D6 it seems.
http://issues.civicrm.org/jira/browse/CRM-11046

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: Bounce processing fails: Mandatory key(s) missing from params array: body
January 08, 2013, 09:41:48 am

I had done a fair bit of debugging on this with FSF and we had tracked down the cause (some ezcMail parsing issues) and come up with a solution

FSF was supposed to submit a patch (since they had a test case etc), but that never happened.

Xavier, ping me on IRC and we can go thru it together and u can do the code / patch and unit test :)

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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Bounce processing fails: Mandatory key(s) missing from params array: body
January 09, 2013, 12:32:17 am
My first patchwelcome of 2013. Happy new year to you too ;)

TTYL on IRC
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Stijn | Yichalal

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: MySQL version 5.1.66
  • PHP version: 5.3.3-7+squeeze15
Re: Bounce processing fails: Mandatory key(s) missing from params array: body
January 09, 2013, 01:40:28 am
Hi there, I just signed up on irc and will try to be available there as 'yichalal' and willing to test stuff. Maybe good to know that I have full rights on the server but not a php wizard or so.

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Bounce processing fails: Mandatory key(s) missing from params array: body
January 23, 2013, 02:40:27 pm
I've just noticed that I'm getting the same Failed Processing message : "Mandatory key(s) missing from params array: body" in the cron output notifications on a site I'm working on. In this case it is using Wordpress and CiviCRM 4.2.6.
Graham Mitchell
http://mc3.coop

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: Bounce processing fails: Mandatory key(s) missing from params array: body
January 23, 2013, 03:58:20 pm

Thanx to Stijn and ward @ FSF this has been fixed for 4.2.8

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Bounce processing fails: Mandatory key(s) missing from params array: body

This forum was archived on 2017-11-26.