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) »
  • Sending mailing immediately, not sent.
Pages: [1]

Author Topic: Sending mailing immediately, not sent.  (Read 3836 times)

carapinha

  • Guest
Sending mailing immediately, not sent.
February 07, 2008, 08:29:46 am
Hi  ;D,

I'm running civimail 1.9, create an email and click send immediately, and nothing happens. However sending a test message does work. I've checked the postings in this forum and it suggests that one can bypass this problem by going directly to the queue and running the job there. I've done that and it also works. But, how can the mails be sent without having to do this?

I've checked  :o the following :
http://forum.civicrm.org/index.php/topic,1687.0.html
http://forum.civicrm.org/index.php/topic,1065.0.html
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMail+Installation#CiviMailInstallation-SettingUptheReturnChannel
http://forum.civicrm.org/index.php/topic,2220.0.html

The cron job should be correct ... no error messages are sent back to me.

What else could it be? Any tips ...  ;)
« Last Edit: February 07, 2008, 08:36:43 am by Frank »

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Sending mailing immediately, not sent.
February 11, 2008, 03:12:13 am
So, your test mailings are sent, and when you go to the mailing/queue URL it works, but cronjob does not? It means you have something mis-configured with your cronjob.

What happens if you run the cronjob ‘by hand’ (i.e., not from cron, but straight from the command line)?

Can you check your server’s logs to see whether there isn’t anything in there?
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.

carapinha

  • Guest
Re: Sending mailing immediately, not sent.
February 11, 2008, 07:00:31 pm
Hi Piotz,
I've implemented the suggestions made in this post http://forum.civicrm.org/index.php/topic,1065.0.html and the cron job is not returning any error messages. Unfortunately I do not have command line access to the server and can't do it by hand. But I've checked the server logs and there are no errors recorded there.
Any further suggestions ...
Ciao for now,
JC

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Sending mailing immediately, not sent.
February 11, 2008, 11:19:26 pm
Hm. Another suggestion: are you sure that the server’s time zone is the same as yours? Can you try scheduling a mailing in the past (say, to two days ago) and then see whether (after the cronjob runs) the mailing is sent properly?

Does the scheduled mailings’ state changes in the mailing table?
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.

carapinha

  • Guest
Re: Sending mailing immediately, not sent.
February 12, 2008, 04:03:55 pm
There my be light at the end of the tunnel .. but not quite there yet.

An update:

I'm unable to schedule a mailing in the past, returns an error "Start date cannot be earlier than the current time."
However, my time and the server time is different (I'm East Coast US, and server is West Coast US). When I schedule a mailing and select "send immediately", the time of the mailing changes from my local time to the server time. Does this have implications?


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: Sending mailing immediately, not sent.
February 12, 2008, 05:57:14 pm

Send immediately should send the mailing on the next cron job run. (assuming you have not tweak php timezone setting to be different from your server / mysql timezone). Can you give this a try and let us know

thanx

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

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: Sending mailing immediately, not sent.
February 14, 2008, 04:07:29 pm
If you run the link http://<your drupal site>/civicrm/mailing/queue?reset=1 does the first cycle kickoff ?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Sending mailing immediately, not sent.

This forum was archived on 2017-11-26.