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) »
  • Bulk mailing just don't work with V4.3.3
Pages: [1]

Author Topic: Bulk mailing just don't work with V4.3.3  (Read 975 times)

andros

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.1.62-MariaDB
  • PHP version: 5.3.15
Bulk mailing just don't work with V4.3.3
May 16, 2013, 12:43:15 pm
Hi, I'm using Drupal 7 with Civicrm 4.3.3 and have upgraded, as always in time to the latest versions, but havend send bulk mails since version 4.3.1.

I have noticed today that I can not send bulk mails with version 4.3.3.

All works fine, until I hit the send button (regardless of which is set, send immediately or by date). You can approve the mail after that, even the preview of the mail is there, but after you aprove the mail it vanishes. The mail is just gone and not queued or to find anywhere.

When i downgrade Mailing.php in CRM/Mailling/BAO/ to version 4.3.1 all runs just fine again. The mail is queued and send out to all

I have no clue why this happens. There are no error messages that leading me to something, even with debug mode on.

Regardless if i use version 4.3.1 of Mailing.php and the mail is actually send, or if i use version 4.3.3 of the file and the email is not send, I get this.

Quote
Warning: Creating default object from empty value in CRM_Mailing_Form_Schedule->postProcess() (line 297 von /srv/www/sites/all/modules/civicrm/CRM/Mailing/Form/Schedule.php).

Warning: array_merge(): Argument #1 is not an array in CRM_Core_Form->addRadio() (line 701 von /srv/www/sites/all/modules/civicrm/CRM/Core/Form.php).

Strict warning: Non-static method CRM_Mailing_BAO_Mailing::tokenReplace() should not be called statically, assuming $this from incompatible context in CRM_Mailing_Page_View->run() (line 109 von /srv/www/sites/all/modules/civicrm/CRM/Mailing/Page/View.php).

Warning: array_merge(): Argument #1 is not an array in CRM_Core_Form->addRadio() (line 701 von /srv/www/sites/all/modules/civicrm/CRM/Core/Form.php).

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: Bulk mailing just don't work with V4.3.3
May 16, 2013, 01:11:25 pm

a few questions:

1. Are u using the approval workflow at all? This is disabled by default. If using the approval process, r u using the rules module integration?

2. Can you run an experiment without using approval. i.e. create a mail, schedule it and send it

3. i did a quick diff of the mailing code in 4.3.1 vs 4.3.3. did not seem to narrow down this issue

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

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: Bulk mailing just don't work with V4.3.3
May 16, 2013, 06:14:53 pm

There is a bug in cron.php which i fixed:

http://issues.civicrm.org/jira/browse/CRM-12648

not sure if it affects your site or not

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

andros

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.1.62-MariaDB
  • PHP version: 5.3.15
Re: Bulk mailing just don't work with V4.3.3
May 17, 2013, 05:55:37 am
Thx for your help Lobo.

These are all enabled settings on "CiviMail Component Settings", as it looked like yesterday:

Enable Double Opt-in for Profile Group(s) field
Track replies using VERP in Reply-To header
Enable workflow support for CiviMail
Enable multiple bulk email address for a contact.
Enable multiple bulk email address for a contact.


To 1.:
As you see, we have had enabled the 'workflow support' with includes this approval function (i think). But it wasn't really used. We have had plans to use this in the future, but for now there where only one person to send the bulk mails out, and also there was no rules set in drupal.

Our last Bulk Mail was, as said above, send with the Mailing.php file from version 4.3.1. The test mail had the correct header and footer, but the actually mail that was send out had sadly no header and footer in it. So only the body of the mail was received by our participants.

To 2.:
Now i have replaced Mailing.php with the current version 4.3.3 again, and disabled the 'workflow support'.
It seems to work right now, the mail was queued and was send out right now perfectly ok.

As said in my first post, before it didn't even get in the queue, the mail was just completely vanished with no trace of it, after finishing the approval step.







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: Bulk mailing just don't work with V4.3.3
May 17, 2013, 06:42:01 am

cool.glad u got it going

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) »
  • Bulk mailing just don't work with V4.3.3

This forum was archived on 2017-11-26.