Results 1 to 7 of 7

Thread: Tracking down email campaing issues, email queue no sending.

  1. #1
    pkubat is offline Member
    Join Date
    Aug 2010
    Posts
    9

    Default Tracking down email campaing issues, email queue no sending.

    We sent out a email campaign yesterday and about 40 or 95 went out without any issues. Sines then no additional emails have been sent. We are running 6.1

    My initial questions is are the logs around sending email? I have looked at sugarcrm.log, but there are not email related errors. I want to make sure that sugar is "sending" then emails.

    I have "Send Queue Campaign Email" but they are still in the queue. All the messages show was in process and 1 send attempt.

    Other emails from within sugar (test and to contacts) work fine. Also from the OS.

    I also changed the campaign email job to run every minute.

    Any ideas would be greatly appreciated.

    Thanks

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Tracking down email campaing issues, email queue no sending.

    The email queue is stopped if there is an email in state inqueue=1.
    To restart the email in emailman must be reset to inqueue=0.
    The scheduler job must be reset to active.

    Be sure that all emails can be sent in the time between two send schedules!
    If the next schedule starts and teh schedule before is yet running, the email queue will be stopped and not restart again - as it happened in your case.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    pkubat is offline Member
    Join Date
    Aug 2010
    Posts
    9

    Default Re: Tracking down email campaing issues, email queue no sending.

    Ok maybe a bug....

    SELECT * FROM emailman WHERE send_date_time <= DATE_FORMAT('2010-12-04 17:11:02', '%Y-%m-%d %H:%i:%s') AND (in_queue ='0' OR ( in_queue ='1' AND in_queue_date <= DATE_FORMAT('2010-12-03 17:11:02', '%Y-%m-%d %H:%i:%s'))) ORDER BY send_date_time ASC,user_id, list_id LIMIT 0,500

    Why is the in_queue_date condition value off by 24hrs, what is it not today? Is there a 24hr hold on messages?

  4. #4
    pkubat is offline Member
    Join Date
    Aug 2010
    Posts
    9

    Default Re: Tracking down email campaing issues, email queue no sending.

    Thanks Harald.

    So I updated the in_queue directly in the db. Is there a UI means to re-release these messages? Or is meant to re-try after 24hrs?

    Thanks

  5. #5
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Tracking down email campaing issues, email queue no sending.

    Oh, did you set the start date of the campaign in the past?
    Only campaigns with start date before now are sent out.
    So you can start a campaign in two weeks, send all emails and these emails are really sent in two weeks.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  6. #6
    pkubat is offline Member
    Join Date
    Aug 2010
    Posts
    9

    Default Re: Tracking down email campaing issues, email queue no sending.

    Yes, the send date was in the past ( by 2 hrs)

    We wanted this to go out right away and not in the future. So do the emails only go out in the future and also during night (the job for sending campaign email)?

    Is there a good document (more that the admin guide) that explains this?

  7. #7
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Tracking down email campaing issues, email queue no sending.

    There were good descriptions of campaign management from synolia (in french) and one of iscon group (in german).

    You can set up campaigns to start at any date.
    I always set up campaigns starting yesterday and beeing active.
    The emails are sent at the times which are set in the scheduler "Run nightly mass email campaigns".
    This can be once a night, or every five minutes or anything else...
    You should do some experiments to find the best solution for your server and for your provider and the rest of the world.
    A SugarCRM server sending thousands of mails in a short time will surely be on a spammer list in the near future...
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Half of emails from email campaign get stuck in email queue
    By Rezae in forum Marketing/Campaign Management
    Replies: 1
    Last Post: 2011-04-05, 05:54 AM
  2. Outbound Email Queue Issues
    By Jordy.Bertram in forum Help
    Replies: 1
    Last Post: 2010-10-03, 10:12 PM
  3. Replies: 0
    Last Post: 2009-01-06, 11:40 AM
  4. Campaing newsletter, unable to send email
    By jarjar26 in forum General Discussion
    Replies: 1
    Last Post: 2008-01-11, 02:41 PM
  5. Email Campaign- Sending Queue Issues?
    By sansbury in forum General Discussion
    Replies: 1
    Last Post: 2005-05-02, 09:25 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
  •