Individual¶
Attachments for
- delivery order
- invoice
- power of revocation
- order confirmation
- terms & conditions
will generated on the fly. See Attachments > Plugin
But if there is a need, to attach another file, you can attach it.
Sample¶
The code from below will attach the file power-of-revocation.pdf to the e-mail to the visitor:
plugin.tx_powermail.settings.setup.sender.addAttachment {
10 = TEXT
value = fileadmin/user_upload/power-of-revocation.pdf
}
The code from below will attach the file manual-workflow.pdf to the e-mail to the website provider:
plugin.tx_powermail.settings.setup.receiver.addAttachment {
10 = TEXT
value = fileadmin/user_upload/power-of-revocation.pdf
}