IPWorks OpenPGP 2020 Kotlin Edition

Questions / Feedback?

Attachments Property

The paths of files to attach to the message.

Syntax

public val attachments: MutableFileAttachmentList

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 component 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 Collection)


Control.Attachments.Add(New nsoftware.IPWorks.FileAttachment("name", "C:\file.txt"))

This collection is indexed from 0 to size - 1.

This property is not available at design time.

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