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) »
  • Mail not being sent
Pages: [1]

Author Topic: Mail not being sent  (Read 4007 times)

crayon

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.2
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Mail not being sent
July 25, 2008, 10:48:40 am
My test mails go out but not the actual mail.  I have read some of the posts but am still having a problem.  I have tried scheduling in on Pacific time since I am in New York and that didn't work.  I use Cpanel and have put in the following commands:

curl -o /dev/null -s http://donations.earthsave.org/civicrm/bin/civimail.cronjob.php?name=user&pass=password

http://donations.earthsave.org/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=user&pass=password

I am not the programmer, am not familiar with Drupal, etc so I don't know how to look into this further. 

We are currently on 1.9.13019, hoping to get our help to upgrade us soon.

Any suggestions?

cdm

  • Guest
Re: Mail not being sent
August 21, 2008, 07:33:16 am
I to am having this problem. Test mails go out but even after scheduling my mails and clicking "send immediately" they still do not go out. I have hit the civimail cronjob url manually with no results.

cdm

  • Guest
Re: Mail not being sent
August 21, 2008, 08:23:06 am
chartglass, I was able to force my mailings to go out by hitting this url -> http://domain.com/civicrm/mailing/queue?reset=1 . They sent successfully but the civimail cronjob still dosent work for me.

crayon

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.2
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Mail not being sent
August 27, 2008, 08:47:35 am
Thanks very much.  This works for me, although it would be nice to figure out how to make it work automatically.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Mail not being sent
August 28, 2008, 12:24:14 pm
Try triggering your cron with wget rather than curl

wget -q --spider 'http://donations.earthsave.org/civicrm/bin/civimail.cronjob.php?name=user&pass=password'
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

crayon

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.2
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Mail not being sent
September 19, 2008, 01:51:37 pm
I just saw your response about changing from curl to wget.  All the other cron job commands are in curl.  Before I try it can you answer my question below?

I noticed that after scheduling mail to go out, I get this:

http://donations.earthsave.org/civicrm/mailing/browse?reset=1

and so I manually put in

http://donations.earthsave.org/civicrm/mailing/queue?reset=1

and it works.

I know nothing about how any of this is generated but is there a way to get the "queue?" instead of the "browse?" into the command?

I am in version 1.9.13019, upgrading soon...

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Mail not being sent
September 19, 2008, 09:25:46 pm
Not sure about that but you can use wget to trigger any url - it just acts like pointing your browser to it. I think the switches are all to prevent any output as it will by default download a copy of the result to your directory.

Ideally you would troubleshoot the cronjob but using wget to hit the url that does work should do what you want
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

crayon

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.2
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Mail not being sent
September 20, 2008, 05:22:48 pm
I tried the wget and I get the same result as the curl and still have to use the manual reset.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Mail not being sent
September 20, 2008, 05:59:18 pm
If you paste this into your browser with the correct name & password what do you get?

http://donations.earthsave.org/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=user&pass=password
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

crayon

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.2
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Mail not being sent
September 21, 2008, 04:37:09 pm
I get nothing.  What should I get?  I have this command in my cpanel Cron Jobs Manager.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Mail not being sent
September 21, 2008, 07:17:37 pm
I think nothing is correct - if it had given you an error it would have helped pinpoint the problem.

Running this line from a browser should be enough to trigger any queued messages to be sent.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

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

This forum was archived on 2017-11-26.