email sent via dma is received in plain text without attachments

From: Dale Scott <dale_at_dalescott.net>
Date: Fri, 22 Aug 2025 04:08:13 UTC
Hi all, I'm hosting webERP, a PHP business web app, on FreeBSD 14.2 
using PHP 8.2. webERP uses phpMail to send HTML-format emails with PDF 
attachments. The server uses dma to send email to the SMTP2GO smarthost 
for delivery. The trouble is that received email is text format instead 
of HTML and missing the expected PDF attachment.

Any idea what could be causing this or what to do about it?

Another developer on the webERP project is using a Linux shared hosting 
service and any sent emails are received in HTML format with expected 
PDF attachments. This seems to show webERP is doing the right thing 
although I expect there are still lots of differences in our 
environments, and things work on a Linux server in spite of issues while 
FreeBSD may be more pedantic about correctness.

Cheers,
Dale

-- 

Dale Scott

Engineering Manager | SME Business Software Support
Principal Consultant, dalescott.net [1]

LinkedIn Profile, Dale Scott, P.Eng. [2]

Links:
------
[1] https://dalescott.net/
[2] https://ca.linkedin.com/in/dalescott