IP*Works! V9 - Online Help
IP*Works! V9
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) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0