We strip attachments using the "Strip Attachment by File Info" filter and use the Replace message field to add in the details of the file using the $dropped_filename variable. The issue I have is that this doesnt insert this text into the body of the original email but adds a txt file with the Replacement Message in it.
In an ideal world I would like the message inserted into the email using the $dropped_filename variable and no txt attachment in the email.
I have tried using the "Strip Attachment by File Info" with no Replacement message and inserting a footer instead, but there are two issues here. The $dropped_filename variable doesn't work in the footer and there is still a txt file in the email with a default message.
Any suggestions would be welcome?