We are trying to find out about emails that SuiteCRM is sending in the log files. Is this the best place to look (we don’t run our own SMTP server)? What should I be looking for in the log file?
Also, is there a way to increase the log file retention? Ours seems to go to up to suitecrm_9.log - which only lasts a couple of days. I’m guessing this is managed by the OS logging agent?
The lines on top of the function are good to check parameters being sent. The ones at the bottom throw full SMTP logs into the log, these are good for troubleshooting server connections, authentication, etc.
Note that the app already includes ways to track email sent in Campaigns, without any need to edit code. So I am assuming you know this but you have some extra requirement.
How can I check what emails went out through campaigns (or is there good documentation I can read)? We sent out 800 emails at 3am and neither me (sys admin) or the marketing manager knows why.
In case anyone else stumbles on this thread like I did, I thought I’d share what I did.
As I do have access to my SMTP server, I ended up using the cpanel logs to see exactly what did and didn’t send correctly in the Cpanel > Track Delivery area.
I then used a (free for moderate use) data miner plugin (https://data-miner.io/) for Chrome to scrape the table into excel for me, so I could compare what did and didn’t send properly.
Now I need to figure out how to send again to those where the email bounced. Even though I have bounced emails sitting in my Suite CRM Email list, the campaign doesn’t seem to have picked up those as bounced messages. I think this is because when I click the email in Suite CRM there is no email content showing which email address it was related to. It was stopped on my end, after a number of errors due to missing email addresses in my target list blocked further emails sending out as part of my server’s anti-spam functionality. I can see the email content directly in my email inbox, but for some reason it is missing in Suite CRM.
I’ve removed the targets with no emails now (I had been hoping to add these in later) and I will try sendind the campaign again and see what happens. The problem I forsee is that the campaign table in the database shows that the emails sent, even though most were unsuccessful, so they will be blocked.
Use a new “Marketing Email Name” (4th step in the wizard) to tell SuiteCRM it’s a different “sending” of the same Campaign, so that repeat addresses aren’t blocked.
(Typical use case of that is sending the March newsletter to the same people to whom you’ve sent the February newsletter)
Cheers. Good to know this workaround. It makes me a little nervous whenever I send emails, as I need to make sure I don’t spam potential clients. It would be really nice if we could see a summary of who will and won’t get emailed before we finally commit to sending them. I’m raising this as an idea in the suggestionbox.