When you insert a template, this macro attaches the specified file(s) to the current email message.
When you insert a template, this macro attaches the specified file(s) to the current appointment or meeting.
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.
~%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"
}
~%Attach{
"from":"onedrive",
"fileName":"Coupon.pdf",
"driveId":"b!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"fileId":"01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"filePath":"/b!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/root:/Shared/Sales /Coupon.pdf"
}
Post a comment
Seen by everyone, do not publish license keys and sensitive personal info!