Thanks KK, that's really helpful.
I think the issue is to do with the phpmailer version, I've used your test but I get the following error:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime()....
I assume this is to do with PHP 8 on the server.
I can get the name of the file displaying in the email using <cms:show my_attachment_link /> but as soon as I add the attachment line I get that error above.
Is there an updated version of the add-on, the one I have has phpmailer as 5.0 but I believe it's up to 5.5 now.
I think the issue is to do with the phpmailer version, I've used your test but I get the following error:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime()....
I assume this is to do with PHP 8 on the server.
I can get the name of the file displaying in the email using <cms:show my_attachment_link /> but as soon as I add the attachment line I get that error above.
Is there an updated version of the add-on, the one I have has phpmailer as 5.0 but I believe it's up to 5.5 now.