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) »
  • Mailing starts, but doesn't complete
Pages: [1]

Author Topic: Mailing starts, but doesn't complete  (Read 999 times)

vavroom

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 4
    • Part of a Whole
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress
  • MySQL version: 5.6.11
  • PHP version: 5.5.3
Mailing starts, but doesn't complete
June 04, 2014, 06:25:14 am
Wordpress 3.9.1
CiviCRM 4.4.5

I created two mailings, one with about 4,000 recipients, and one with about 750 recipients. Both were set to "Send immediately".

I triggered the mailing by going to Administer > System Settings > Scheduled jobs > Send Scheduled Mailing > Execute Now

Both jobs showed as "running". More than 12 hours later, the smaller job had not a single mail sent. The large mailing had about 43% of the mails sent, although it reached 43% last night and hasn't moved since.

I'm pretty sure all my settings are correct. I wouldn't have had 43% of one mailing go if they weren't correct.

Also, this is the second Civi site I setup. Both installs are on their own domain, on the same server. The settings are all the same (that is, using the values relevant to each site, otherwise setup the same way). I ran two other similar mailings on the other domain and they all went out without a problem.

When triggering the job manually that way, the page goes on loading for a while and then gives me a 500 Server error, but when I go back into the Civi admin pannel, the jobs are running. This has not been a problem on the first site I setup - jobs always run their full course.

Any idea what might be going on that I can look at? I've read the installation guide post, the Civi book, trolled the forum, can't seem to see anything relevant.

Thanks

//Edit: I cancelled the mailings, and ran them again. The small mailing (750 emails) went out immediately (yay!). The larger one (1926 emails) sent out 1380 within minutes of running, and has now not done a thing in over an hour. Really puzzled here
« Last Edit: June 04, 2014, 08:41:25 am by vavroom »

vavroom

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 4
    • Part of a Whole
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress
  • MySQL version: 5.6.11
  • PHP version: 5.5.3
Re: Mailing starts, but doesn't complete
June 04, 2014, 02:02:30 pm
I had a look at the most recent log in ConfigandLog, and am not making much sense of it.

The last entry in the log is at about the time the emails stopped sending, but there are many similar entries peppered throughout the log, which happened both before and after mails stopped sending.

It *seems* to point to a problem with using mail() but if that's the case, why are some mails going through and others not? That said, I'm really more of an HTML and CSS guy and am probably missing something that's staring me in the face :o

Any suggestions appreciated.

Code: [Select]
Jun 04 10:43:08  [info] Ignoring exception thrown by nullHandler: , mail() returned failure

Jun 04 10:43:08  [info] $backTrace = #0 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(785): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 [internal function](): CRM_Core_Error::nullHandler(Object(PEAR_Error))
#2 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(PEAR_Error))
#3 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(566): PEAR_Error->PEAR_Error("mail() returned failure", NULL, 16, (Array:2), NULL)
#4 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/packages/Mail/mail.php(174): PEAR->raiseError("mail() returned failure")
#5 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Mailing/BAO/MailingJob.php(653): Mail_mail->send("=?utf-8?Q?username?=\n <useremail@userdomain.com>", (Array:10), "--=_63f2084c7aacbda9371d3004da8ef738\nContent-Transfer-Encoding: 8bit\nConten...", "13")
#6 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Mailing/BAO/MailingJob.php(576): CRM_Mailing_BAO_MailingJob->deliverGroup((Array:926), Object(CRM_Mailing_BAO_Mailing), Object(Mail_mail), "20140604103841", (Array:0))
#7 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Mailing/BAO/MailingJob.php(174): CRM_Mailing_BAO_MailingJob->deliver(Object(Mail_mail), NULL)
#8 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Mailing/BAO/Mailing.php(2693): CRM_Mailing_BAO_MailingJob::runJobs(NULL, NULL)
#9 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/api/v3/Job.php(341): CRM_Mailing_BAO_Mailing::processQueue()
#10 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/api/api.php(87): civicrm_api3_job_process_mailing((Array:1))
#11 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(132): civicrm_api("Job", "process_mailing", (Array:1))
#12 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php(111): CRM_Core_JobManager->executeJob(Object(CRM_Core_ScheduledJob))
#13 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php(156): CRM_Core_JobManager->executeJobById("1")
#14 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(182): CRM_Admin_Page_Job->browse(NULL, NULL)
#15 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php(141): CRM_Core_Page_Basic->run()
#16 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(323): CRM_Admin_Page_Job->run((Array:3), NULL)
#17 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:13))
#18 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#19 /usr/home/myserver/public_html/mydomain.org/wp-content/plugins/civicrm/civicrm.php(470): CRM_Core_Invoke::invoke((Array:3))
#20 [internal function](): CiviCRM_For_WordPress->invoke("")
#21 /usr/home/myserver/public_html/mydomain.org/wp-includes/plugin.php(470): call_user_func_array((Array:2), (Array:1))
#22 /usr/home/myserver/public_html/mydomain.org/wp-admin/admin.php(211): do_action("toplevel_page_CiviCRM")
#23 {main}

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Mailing starts, but doesn't complete
June 04, 2014, 02:59:36 pm
I think you need to set up a cron job. Each time you execute the cron job a number of mails will go out (generally per limit on this page

http://drupal.demo.civicrm.org/civicrm/admin/mail?reset=1
)

The idea is you run the cron every 5 minutes or so & it sends out a bunch each time - so limiting the server load
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

vavroom

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 4
    • Part of a Whole
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress
  • MySQL version: 5.6.11
  • PHP version: 5.5.3
Re: Mailing starts, but doesn't complete
June 04, 2014, 03:11:14 pm
Thanks Eileen,

I do have a cron job setup. Runs once an hour, though that's not been a problem on the older site on the same server. And even though it's been several hours, the rest of the job isn't finishing.

Also, all the limits on the CiviMail settings are default, '0'. Same as the other site. It works on one, not on the other.

Merci

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Mailing starts, but doesn't complete

This forum was archived on 2017-11-26.