For those who have already sent marketing emails or have their own mail server you can ignore this post.
Hi,
So a word of caution.
If you want to send marketing emails don't send them out via Google's SMTP servers.
You can receive email using Gmail, but using them for sending a number of almost identical HTML emails will very quickly cause them to get blocked and rejected as SPAM.
You should instead setup a local MTA (Mail Transport Agent) such as Exim4, Postfix or Sendmail (assuming your using Linux), and configure SugarCRM to send emails locally, but from the correct email address, allowing it to use Gmail's IMAP settings.
The story
Our communications manager wanted to send out a newsletter to 2,000+ contacts on a new install of SugarCRM.
Our organisation is using a free version of Google Apps which means that emails for the anat.org.au domain are handled using Gmail and I created a Google App user specifically for the SugarCRM.
I used the 'prefill Gmail defaults' in the Admin->Email Settings and Admin->Inbound Email
This meant that it was using Google Email server for both outgoing and incoming email, saving me from having to configure any email services locally... I was wrong.
The test emails came back fine. Emails looked good, couldn't see any errors.
After finally working out the SugarCRM cronjob and scheduler the first batch of 100emails that got sent out and I went home.
I come in to work the next day only to find that the emails didn't send properly. Google email servers thought the the batch emails were spam and prevented them from actually being sent. On top of that the few emails that did go through were sent showing the raw HTML as text, not actually as HTML, so the newsletter was unreadable.
I setup Exim4 on the Linux machine running Sugar and set the outgoing mail server settings to localhost on port 25. Tried again and this time the emails went through fine.
One thing I should mention, if your domain has SPF (Sender Policy Framework) settings which don't say your SugarCRM server's Internet IP address can send emails on the domains behalf, then your going to have to change the settings.
NB : I'm using a locally hosted SugarCRM v5.5 - Community edition on a LAMP box. Other editions and configurations may have other settings. This likely doesn't affect Sugar hosted applications.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks