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) »
  • CiviMail: Mass mailing stalls?
Pages: [1]

Author Topic: CiviMail: Mass mailing stalls?  (Read 2725 times)

ToddFur

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
CiviMail: Mass mailing stalls?
October 20, 2008, 12:59:09 pm
I have SMTP relay limit of 1,000 per day.

I sent out mass mailing using CiviMail to 823 addresses.

To initiate the mailing I used "http://www.(DOMAINNAME).org/drupal/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=(USERID)&pass=(PASSWORD)"

This works fine however the next day I went back to check on it and the status shows "still running" at 64% sent. Even today -- 3 days later, it's still at the same status. I did create a cron job on the server that initiates the above command every hour... I'm not sure what is going on. Is there some kind of error log or message file I can look up to see why it hasn't move past 64%? Or maybe it did complete but the report isn't displaying it correctly?
(http://www.bensbells.org/mass.JPG)


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail: Mass mailing stalls?
October 20, 2008, 02:02:22 pm
Can you check if your cron job is still running?

Kurund
Found this reply helpful? Support CiviCRM

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail: Mass mailing stalls?
October 20, 2008, 04:03:52 pm
Quote from: ToddFur on October 20, 2008, 12:59:09 pm
This works fine however the next day I went back to check on it and the status shows "still running" at 64% sent. Even today -- 3 days later, it's still at the same status. I did create a cron job on the server that initiates the above command every hour...

It looks like your cronjob is not working. Can you visit the same URL by hand again an see whether this sends another batch of emails?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: CiviMail: Mass mailing stalls?
October 27, 2008, 01:10:38 am
Hey I am facing the same problem. The cron job didn't do anything so I had to start the mailing by visiting the link manually. This initiated the email but it is still at the start status and no emails have been sent so far. Is is possible to check the status or log of cron job?

Does initiating the script will send all the emails?

Thanks
CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

ToddFur

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
Re: CiviMail: Mass mailing stalls?
October 27, 2008, 06:32:58 am
Well, I had to set a cron-job... and I set it to do hourly instead of daily. I discovered that it sends only like 30-40 per cron job. But with it set hourly, it eventually sends them out all.... after a day or 2. Which is fine for me.....

My web hosting is with godaddy so I just went into the acct mgt and set the cron job there.

Hope that helps.

polestar

  • I post frequently
  • ***
  • Posts: 162
  • Karma: 11
    • Target Integration
Re: CiviMail: Mass mailing stalls?
October 27, 2008, 07:00:50 am
Hey my hosting is with Godaddy as well. What did you enter in the command box?

Thanks.
CiviCRM - Installation & Support | Virtual Private Servers (VPS) with Joomla/Drupal and CiviCRM | SugarCRM & vTiger CRM Installation and Support
Target Integration | www.targetintegration.com
Subscribe to Knowledgement - Your guide to effective business | http://www.knowledgement.ie

ToddFur

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
Re: CiviMail: Mass mailing stalls?
October 27, 2008, 10:18:08 am
I entered in /usr/bin/wget -O - -q "http://www.DOMAINNAME.org/drupal/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=USERID&pass=PASSWORD"

Replace DOMAINNAME, USERID and PASSWORD with the correct value for your site.

Hope this helps -- GoDaddy SMTP relay is suppose to be able to send up to 1,000 addresses every 24 hours but it seems like the cron job sends around 30-40 at a time.... so set it frequently (hourly)
« Last Edit: October 27, 2008, 10:19:55 am by ToddFur »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail: Mass mailing stalls?
October 27, 2008, 11:54:52 am
Quote from: ToddFur on October 27, 2008, 10:18:08 am
I entered in /usr/bin/wget -O - -q "http://www.DOMAINNAME.org/drupal/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=USERID&pass=PASSWORD"

You might want to do {{wget -O /dev/null -q …}} instead (to simply drop the {{wget}}’s output).

Quote from: ToddFur on October 27, 2008, 10:18:08 am
GoDaddy SMTP relay is suppose to be able to send up to 1,000 addresses every 24 hours but it seems like the cron job sends around 30-40 at a time.... so set it frequently (hourly)

Well, 1000 mails per 24 hours means 41 mails per hour, so I’d assume their limit is simply hourly (rather than daily). :) If you don’t want to push their tolerance by attempting to send more (and make them cache them until they fit in the limit), set your Administer CiviCRM → Mailer Settings → Mailer Batch Limit to 30 or so (for a hourly cronjob).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail: Mass mailing stalls?

This forum was archived on 2017-11-26.