IPWorks OpenPGP 2020 macOS Edition

Questions / Feedback?

Attachments Property

The paths of files to attach to the message.

Syntax

public var attachments: Array<FileAttachment> {
get {...} }

Remarks

This property contains the path of a file on your system that you would like to send as an attachment with your message. The class will open the file and encode its contents in MIME format.

Example (Adding an Attachment)


Control.AddAttachment("C:\file1.zip")
Control.AddAttachment("C:\file2.zip")
Control.Send()
or Example (Using Attachments Array)


Control.AttachmentCount = 1
Control.AttachmentName(0) = "name"
Control.AttachmentFile(0) = "C:\file.txt"

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 macOS Edition - Version 20.0 [Build 7941]