Logging for SMTP emails

4 posts by 2 authors in: Forums > CMS Builder
Last Post: December 17, 2025   (RSS)

By pault - December 11, 2025

I have a site where the outgoing mail settings are set to send via a third party SMTP host.  Emails sent this way are logged in the CMS Outgoing Mail and also in the log of the third party SMTP host.

This is working in general but occassionally an email is sent which is then logged within the CMS but not at the third party SMTP host.

Is there any more verbose logging that we can enable for SwiftMailer to work out why some emails are failing?

Thanks, Paul.

By Dave - December 15, 2025

Hi Paul, 

We switched from SwiftMailer to PHP Mailer a couple of years ago.  Are you on a recent CMSB version? Or can you upgrade if needed?

Let me know which CMSB version you're on, and we can figure out how to add logging so you can track it down.

Dave Edis - Senior Developer



interactivetools.com

By pault - December 17, 2025

Hi Dave,

Thanks for the reply.  It's an older version of the CMSB and does need an upgrade so it would be good to know how to enable more verbose logging for the PHP Mailer version, if that's possible?

We've added some logging for the existing version which writes to a new field that we've created in outgoing_mail and that seems to work but these changes will be lost when we upgrade.

Regards, Paul.