Re: Email Send Error
First reply:
Sounds like Sugar is caught in a loop when it retrieves messages...
Check to make sure that the inbound email address that you're checking has...
a. the "Leave Messages on Server" box UNchecked.
b. the "Import only since last check" option box UNchecked.
c. Make sure your "scheduler->check inbound emails" is set to something reasonable, like every 12 minutes or so.
Try sending a message to yourself again and see if you get the duplication issues.
Second reply:
If you have access to your Servers Log Files, then check your maillog to see if there is any issues noted. If you have Shell access, log in and check your Sendmail Queue to see if there's anything stuck or any 400 or 500 series errors being reported (cd /etc/mail then type 'sendmail -q -v' to force sendmail to process its queue).
If you don't have Shell access, turn on error reporting for Sugar (open the sugar->log4php.properties file and uncomment the error,info and debug lines. Save it and reupload to your server, run the email process again, and then check the sugarcrm.log file generated on your server in your sugar root directory).
General Note: I run campaigns that number in the the thousands (avg. 5,000 emails each). I send these about two to three times a week, all from Sugar's campaign module. It is quite common to have multiple send errors during the email process. Sendmail will automatically queue the emails going out and automatically retry for several days. Many things cause a send error, but the biggest issue we had was the fact that our servers services were maxing out and Sendmail just couldn't get any resources to operate. We changed servers to a VPS (virtual private server) and most of the send error issues just went away. Still, we have errors based on destination addresses - the biggest culprit being Yahoo.com email addresses. Yahoo meters incoming mail from one IP to something like 40 an hour. If you send more than that to a Yahoo address in an hour, then you run into the chance that Yahoo will generate a 400 series error saying "delivery is delayed" - which basically tells your mail server to "try again later". All delayed emails stay in the queue until accepted by Yahoo (which may only take a few per hour). Up to 25% of some of our target lists are yahoo.com addresses - so we created another campaign and scheduler to deal with those - it sends only 40 emails per hour to Yahoo. Your results may vary.
The bottom line is to check your logs and mail queue for information. It's the only way to really tell what's really going on.
Let me know if you have any more questions or find our more information about your issues with email.
- Michael
michaelest
sugarCRM OS 4.5.1e (build 1049)
PHP Version 5.2.3
Apache 2.2.4
FreeBSD 6.2-RELEASE #0:
Bookmarks