Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute NameTypeRequiredDescription
invoiceInvoice IDNoUse this if you want to attach invoices to your email
filepathNoPath to your file that you wish to attach, use absolute paths
namestringNoname that will be used for attached file

Usage

...

Example usage in email templates:

...

Code Block
languagephp
{if $invoice.gateway == 'Bank Transfer'}
  {attachment file="/var/pdfguides/banktransferguide.pdf" name="Bank Transfer Guide.pdf"}
{/if}