Re: email sent via dma is received in plain text without attachments

From: John R. Levine <johnl_at_iecc.com>
Date: Fri, 22 Aug 2025 22:02:44 UTC
On Fri, 22 Aug 2025, Dale Scott wrote:
>> DMA does not do anything clever to the mail it handles. ..

> Since the other developer can receive email with attachments, I think I can 
> assume webERP is correctly generating the mail.

I would wager money that's it isn't.

> It seems possible dma is 
> removing the multi-part content due to some error that is ignored on Linux.

DMA is a very small program.  I have read all the source code.  It does 
not look inside the messages and it most definitely does not take messages 
apart or remove parts of them.

If I were you, I would look at your PHP setup to figure out what's wrong. 
I'd look for mistakes in configuration files, or perhaps corrupted or 
missing template files.  Since it's a Unix system, you always need to look 
at file ownership and permissions -- it might be files or directories that 
exist but that the PHP user (probably www) can't read.

A good start would be to edit your php.ini to use the development 
settings so PHP tells you when something goes wrong.

Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly