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) »
  • Test email works, but emails are never sent
Pages: [1]

Author Topic: Test email works, but emails are never sent  (Read 1135 times)

srbaldomero

  • Guest
Test email works, but emails are never sent
September 07, 2009, 05:02:16 am
Hello,

I'm trying to use civiMail in order to send mass emails but emails are never sent, no matter if I schedule them or send them immediately. The weird thing is that test email works! (I used the same group of people as recipients). What am I missing?

PS: I noticed that my daytime is different than the system's daytime, how can I change it?

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: Test email works, but emails are never sent
September 07, 2009, 07:13:32 am

did u read and follow the instructions here: http://wiki.civicrm.org/confluence/display/CRMDOC/CiviMail+Installation

specifically the cron job

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

srbaldomero

  • Guest
Re: Test email works, but emails are never sent
September 08, 2009, 02:50:09 am
Hum... I thought CiviCRM used drupal's cronjob, but I see that it has its own one, which I haven't configured. Unfortunately it seems that I made some mistake when configuring my cronjob in Dreamhost, since I have set up a key, and I have changed these values:

Code: [Select]
wget 'http://<site-and-civicrm-path>/bin/civimail.cronjob.php?name=<name>&pass=<pass>&key=<key>'
with the aproppiate ones, according to drupal's root user and password and the previously generated key placed in sites/default/civicrm.settings.php. When cronjob is executed I get the following email:

Quote
--02:45:02--  http://domain/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=<drupal user>&pass=<password>&key=<key>
          => `civimail.cronjob.php?name=<drupal user>&pass=<password>&key=<key>'
Resolving <domain>... <IP>
Connecting to <domain>|<IP>|<PORT>... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

   The file is already fully retrieved; nothing to do.


Any help, please?

EDIT: I found a mistake: I used a + symbol in my key, so I edited it and it's working fine now. (emails are not sent immediately, though, tey wait till the cron is executed -I assume this is the obviously expected behaviour)
« Last Edit: September 08, 2009, 04:50:02 am by srbaldomero »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Test email works, but emails are never sent
September 14, 2009, 02:38:06 am
Quote from: srbaldomero on September 08, 2009, 02:50:09 am
EDIT: I found a mistake: I used a + symbol in my key, so I edited it and it's working fine now.

This is because + in URLs means space, so if you have a + in your username/password/key, you need to URL-encode it  by using %2B in the URL instead.

Quote
(emails are not sent immediately, though, tey wait till the cron is executed -I assume this is the obviously expected behaviour)

Yes, this is expected.
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) »
  • Test email works, but emails are never sent

This forum was archived on 2017-11-26.