commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Speakmon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (EMAIL-67) Create e-mail attachment using an OutputStream
Date Wed, 08 Aug 2007 19:56:59 GMT

    [ https://issues.apache.org/jira/browse/EMAIL-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518535
] 

Ben Speakmon commented on EMAIL-67:
-----------------------------------

Correct. You may also try it now with one of the nightly 1.1 snapshot builds -- they're quite
stable and well tested, and are unlikely to change appreciably between now and the release.
You can also build the latest source from SVN; it should work fine for you as well.

> Create e-mail attachment using an OutputStream
> ----------------------------------------------
>
>                 Key: EMAIL-67
>                 URL: https://issues.apache.org/jira/browse/EMAIL-67
>             Project: Commons Email
>          Issue Type: New Feature
>    Affects Versions: 1.0
>            Reporter: Charl Gerber
>            Assignee: Ben Speakmon
>            Priority: Minor
>             Fix For: 1.1
>
>
> I'm using POI to create .xls files in memory that I want to send as e-mail attachments.
I now have to first save the created POI workbooks, then attach the files to the e-mail and
then have a mechanism to clean up the temporary files after the mail was sent. The POI HSSFWorkbook
has a method:
> write(java.io.OutputStream stream) 
> If this operation could write directly into the e-mail attachment, it would increase
performance and require a lot less overhead to manage the temporary files.
> I am sure there are plenty other examples of attachments being created as files in memory
that could be sent directly without having to create it as an actual file first.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message