IPWorks S/MIME 2020 Kotlin Edition

Questions / Feedback?

AddAttachment Method

Adds FileName as an attachment.

Syntax

public fun addAttachment(fileName: String?)

Remarks

This method adds the file name as an attachment, the full list of attachments is contained in the Attachments property.

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"))

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