IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

AddAttachment Method

Adds FileName as an attachment.

Syntax

[VB.NET]
Public Sub AddAttachment(ByVal FileName As String)
[C#]
public void AddAttachment(string fileName);

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) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]