As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
This can either be a java.util.File, a String, or a javax.activation.DataSource, or an array of one of these objects. A file is just attached as is, with the name of the file as name of the attachment, and a String is interpreted as path to a file. In case of a DataSource, the name attribute of the data source is used as name of the attachement.