how can i add an attachment in my finisher ? I have an comma separated list of files (without FAL)
- TYPO3 7.6
- Powermail 3.8.0
Thanks a lot
how can i add an attachment in my finisher ? I have an comma separated list of files (without FAL)
Thanks a lot
Finisher is the wrong origin to add an attachment to a mail, because finishers (as the name already tells you) are called after everything else. To find a solution there are some ideas (using a signal like "sendTemplateEmailBeforeSend" or so). But the simplest way is to always create an XML file with a fix name on a fix location before the mails are sent and attach this to the mail (I think I read something that you want to add a dynamically XML-file to your mails). That could be done with a dataProcessor - see https://docs.typo3.org/typo3cms/extensions/powermail/ForDevelopers/AddDataProcessors/Index.html for details.