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 »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Send Scheduled Mailings problem
Pages: [1]

Author Topic: Send Scheduled Mailings problem  (Read 1420 times)

netfusion

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: latest one
  • CMS version: wordpress
  • MySQL version: 5.1
  • PHP version: 5.3
Send Scheduled Mailings problem
September 07, 2012, 06:42:17 pm
I set up a mailing list and the test function works ok, but when I do a mail out the emails are not sent.
I went to Send Scheduled Mailings section and changed it to hourly and daily but it gave this message:
Given API command is not defined.
Pls advise. I am using wordpress 3.4.2

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Send Scheduled Mailings problem
September 10, 2012, 06:57:05 am
Do you have the cron job setup? Can you check that the URL there is correct?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

netfusion

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: latest one
  • CMS version: wordpress
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Send Scheduled Mailings problem
September 10, 2012, 12:23:03 pm
Hi, I followed instructions to manually run the cron job via Url, as I dont understand another way to do it.
but it didnt work. the url is correct with the wordpress login.
can anyone help set up  a cron job so it just runs every day ?
thanks

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Send Scheduled Mailings problem
September 10, 2012, 12:36:54 pm
It didn't work? Was there an error message?

Ask you host how to setup a cron job, as this is a feature they should provide.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

netfusion

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: latest one
  • CMS version: wordpress
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Send Scheduled Mailings problem
September 11, 2012, 02:07:04 pm
Hi Thanks, I will ask the website host about seting up a cron job but when I tried to run all jobs via the url, I got this message:
ERROR: Invalid key value sent. More info at:http://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Job

but I placed the same key on the end of the url that exists in the wordpress file:

http://hawaiispace.com/new/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=admin&pass=password&key=site-3cx4aNkpQwxmM1hTMV~!C09iO6

netfusion

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: latest one
  • CMS version: wordpress
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Send Scheduled Mailings problem
September 11, 2012, 02:17:42 pm
Hi, I logged into my host CP and it allows me to set up a cron job, but I am unsure after reading the documents as to what to put when it asks for 'command' ?
thats the only field that I can fill out apart from when i want it to run.
I have all my contacts loaded and I would love to be able to send out a working newsletter.
thanks, Jon

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Send Scheduled Mailings problem
September 11, 2012, 02:58:05 pm
Try changing your key so it's just letters and numbers and no ~ or ! characters. First get the URL to work.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

netfusion

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: latest one
  • CMS version: wordpress
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Send Scheduled Mailings problem
September 12, 2012, 01:49:26 pm
Hi thanks, I changed it but still get an error:
http://hawaiispace.com/new/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=admin&pass=zNPJQL5ve&key=site-7896yhHHH766544Hyu876tHytg
ERROR: Invalid key value sent

I placed the key in civicrm.settings.php and uploaded to the correct plugin section in wordpress..

define( 'CIVICRM_SITE_KEY', '7896yhHHH766544Hyu876tHytg' );

thanks, Jon

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Send Scheduled Mailings problem
September 12, 2012, 02:00:51 pm
Remove the five characters site- from the URL and it will work. I just tried--it works. :)

Please note, however, that you have just published above the admin password for your site, for the whole world to see. Please change that password ASAP.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

netfusion

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: latest one
  • CMS version: wordpress
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Send Scheduled Mailings problem
September 13, 2012, 08:49:57 pm
ah ok, thanks a lot for your help!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Send Scheduled Mailings problem

This forum was archived on 2017-11-26.