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) »
  • How to delete a civimail stuck in the processing queue
Pages: [1]

Author Topic: How to delete a civimail stuck in the processing queue  (Read 1965 times)

amazon

  • Guest
How to delete a civimail stuck in the processing queue
July 23, 2007, 04:15:03 pm
Here's the internal CivicSpaceOnDemand instructions for deleting a mail stuck in the queue:

There are three foreign key connected tables.  They must all have the entries with the common mailing_id removed.

First, identify the id in the civicrm_mailing table.  Then remove the rows with mailing_id = civicrm_mailing.id from civicrm

mysql> select id, mailing_id, status from civicrm_mailing_job;

Match id to job_id:

mysql> delete from civicrm_mailing_event_queue where job_id=25;

mysql> delete quick from civicrm_mailing_group where mailing_id=25;
Query OK, 1 row affected (0.00 sec)

mysql> delete quick from civicrm_mailing_job where mailing_id=25;
Query OK, 1 row affected (0.01 sec)

mysql> delete quick from civicrm_mailing where id=25;
Query OK, 1 row affected (0.00 sec)

Comments, updates welcome.

Kieran

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • How to delete a civimail stuck in the processing queue

This forum was archived on 2017-11-26.