SugarCRM Send Queued Campaign Emails Not Working And Message Rejected Problem

Do you like this?

Summary:
This post shows you a few tricks as to how to fix the problem Email Campaign Not Sending and Message Rejected in SugarCRM.


Content:

Below are a few reasons why emails cannot be sent and how to fix them.

Time Setting

If the time set for the emails to be sent in the campaign hasn't come yet, the emails will not be sent

Setup Cronjob

  1. login to your server with ssh
  2. Enter: crontab -e
  3. Insert this line: * * * * * cd <path_to_sugarcrm> /usr/local/bin/php -f cron.php > /dev/null 2>&1
  4. Save and exit

Cronjob is not working

In the line: * * * * * cd <path_to_sugarcrm> /usr/local/bin/php -f cron.php > /dev/null 2>&1. You have to make sure that the path to php command is absolute

Emails Stuck In Queue With Sent Attempt=1 And In Progress

  1. Admin\Email Queue
  2. Select all the pending emails
  3. Mass Update
  4. Change the In Progress field to NO

Email Queue Not Sending With Sent Attempt And In Progress

Probably, you have run out of your sending quota limit. For example, for the free version of Google Apps, you can send only maximum 500 emails/day. After exceeding, you can only receive emails but not sending emails.

Message Rejected

Due to spam protection, some email servers can reject your campaign emails if you don't have a proper SPF record in your DNS setup. SPF or Sender Policy Framework is a means to protect against spam emails at the DNS level. For example, if I set up my SugarCRM instance on Webfaction, a famous hosting provider; I should add a SPF record something like this v=spf1 a:smtp.webfaction.com ~all. The value smtp.webfaction.com can vary from server to server.

 
comments powered by Disqus