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) »
  • CiviMail won't send if batch limit is set, if batch limit is 0 it works
Pages: [1]

Author Topic: CiviMail won't send if batch limit is set, if batch limit is 0 it works  (Read 1676 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
CiviMail won't send if batch limit is set, if batch limit is 0 it works
February 11, 2011, 05:15:47 pm
Hey there, this is a weird one.  Using CiviSMTP services we are getting good sends but only if batch limit is set to 0.  Any limitation, be it 100, 500, or 1000 per batch causes the job to "start" and be shown as status "running" but never send a single email, and certainly not finish.

The cron is running.  The CiviCRM.log file only shows stuff like this:

Code: [Select]
Feb 11 11:50:01  [info] civimail.cronjob.php

There are no on-screen errors if the script is run from a browser and no errors in the PHP error log.


We are using 3.3.5, freshly upgraded.  Site has no modifications.

PHP version    5.2.16
MySQL version    5.1.54

What's up?  Any ideas?
Try CiviTeacher: the online video tutorial CiviCRM learning library.

xcf33

  • I post frequently
  • ***
  • Posts: 181
  • Karma: 7
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19/6.20
  • MySQL version: 5.x
  • PHP version: 5.2.6
Re: CiviMail won't send if batch limit is set, if batch limit is 0 it works
February 24, 2011, 02:15:31 pm
How often do you have the mail cron running?

It is useful to check the civicrm_mailing_job table and you can see how many mailing jobs has been created for the mailing and the status of each. Each time the civimail cron fires it should trigger 1 job from the mailing.

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 won't send if batch limit is set, if batch limit is 0 it works
February 25, 2011, 02:10:16 pm

stoob:

any progress? can u try a few more things:

1. See if it works when you run via url? q=civicrm/mailing/queue&reset=1

2. make sure that the cron user that u send in has "view all contacts" permission

i just fixed an install where 2 was not set and hence mail was not being delivered. the reporter said the same setup worked in 3.1

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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • CiviMail won't send if batch limit is set, if batch limit is 0 it works

This forum was archived on 2017-11-26.