~%Attach

Description

Email

When you insert a template, this macro attaches the specified file(s) to the current email message.

Calendar

When you insert a template, this macro attaches the specified file(s) to the current appointment or meeting.

Notes

You can attach files from public URLs and from a OneDrive or SharePoint documents folder (library) that is either yours or shared with you. In case of OneDrive and SharePoint, you can interactively select a file when inserting or editing the macro—the "driveId", "fileId", "fileName", and "filePath" parameters will be specified automatically.

Syntax

~%Attach{
     "from":"onedrive" | "sharepoint" | "url" | "onedrive_folder" | "sharepoint_folder",
     // in case of OneDrive or SharePoint
     ("driveId":"textvalue",
     "fileId":"textvalue",
     "fileName":"textvalue", )
     ("filePath":"textvalue",)
     // in case of URL
     "url":"textvalue"
}

Works for

  • Email templates.
  • Appointment and meeting templates.
  • Mail Merge templates.

Examples of use

~%Attach{
     "from":"onedrive",
     "fileName":"Coupon.pdf",
     "driveId":"b!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
     "fileId":"01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
     "filePath":"/b!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/root:/Shared/Sales /Coupon.pdf"
}

Deprecated macros

  • AttachFromOneDrive
  • AttachFromSharePoint
  • AttachFromURL

Please contact us here

Our working hours:
Pacific Time (PT) 11:00 PM (previous day) – 2:00 PM
Central European Time (CET) 08:00 - 23:00
Eastern Time (ET) 2:00 AM – 5:00 PM
Central Time (CT) 1:00 AM – 4:00 PM
Pacific Time (PT) 11:00 PM (previous day) – 2:00 PM
Australian Eastern Daylight Time (AEDT) 6:00 PM – 9:00 AM (next day)
If you want to attach files (e.g. screenshots or log files), it will be possible right after you send this form and we automatically create a support ticket for you.