Bug ID: JDK-4267294 InputStream must be created in getInputStream...
addAttachment(String contentType, InputStream in). Because I don't know what type of InputStream that can be passed in, I can't use any of the provided DataSource implementation classes (e.g. java.activation.FileDataSource).