Results 1 to 3 of 3

Thread: Email Campaigns only sending manually.

  1. #1
    twick100 is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    30

    Default Email Campaigns only sending manually.

    I have setup crontab and have tested to make sure crontab is working properly and it is. I tested this by added a line that writes a time and date to a text file periodically and it works as it should. However, the crontab for cron.php is either not working or it not checking campaigns to send. I'm not sure which is the problem.

    I do know that campaigns can and do send when I goto the Email Queue in Admin pages and click the send emails button.

    Suggestions?

    Here is what in my crontab
    * * * * * cd /var/www/html && /usr/bin/php -f cron.php 2>&1
    * * * * * cd /var/www/html; php -f cron.php > /dev/null 2>&1

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Email Campaigns only sending manually.

    If you check the job entry for sending campaign messages under Admin > Scheduler, does it show that the job attempted to run?

    What happens if you run the command from the shell?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    twick100 is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    30

    Default Re: Email Campaigns only sending manually.

    Quote Originally Posted by Angel View Post
    If you check the job entry for sending campaign messages under Admin > Scheduler, does it show that the job attempted to run?

    What happens if you run the command from the shell?
    I appreciate the reply. I had not thought of trying it in the console.

    When I run this (cd /var/www/html; php -f cron.php > /dev/null 2>&1) it has no output to the console so I assume it is running ok. The email still does not send, though.

    I checked the scheduler admin area. What task should I be looking at?

    I set the following to run as often as possible.

    Run Nightly Process Bounced Campaign Emails
    Run Nightly Mass Email Campaigns

    EDIT : Nevermind. I had to remove the first line from the crontab and set the email schedulers to * * * * *.

    NOTE : When I click the button to send emails manually they get to the right people's email boxes.

    New Problem : The scheduler is working and removing emails from queue but not actually sending the emails to the recipients.
    Last edited by twick100; 2011-11-23 at 01:27 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Best practices for sending email campaigns in Sugar
    By jamesj55 in forum General Discussion
    Replies: 4
    Last Post: 2009-08-17, 04:34 PM
  2. Sending email campaigns
    By starling01 in forum Help
    Replies: 4
    Last Post: 2009-03-30, 12:55 PM
  3. Manually Sending an Email using Email Template
    By mmisra in forum Developer Help
    Replies: 0
    Last Post: 2008-11-17, 06:49 AM
  4. sending Email Campaigns
    By Rani in forum Help
    Replies: 6
    Last Post: 2006-12-14, 12:13 PM
  5. Errors sending email in Mass Email Campaigns
    By blakegrover in forum Help
    Replies: 0
    Last Post: 2005-06-13, 02:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •