Hi Eric,

We are trying to retrieve it after storing to make it more simple. During
process might need a code change in mailets I guess.
If it is a completed email in BLOB, is there a way to extract just
attachment?

Thanks, Sai


On Tue, Mar 20, 2012 at 3:23 PM, Eric Charles <[email protected]> wrote:

> Hi Sai,
> If you use JPA, the complete mail is stored as a blob in the JAMES_MESSAGE
> table (see http://james.apache.org/**server/3/images/database/**
> james-database-schema-derby_**1000.png<http://james.apache.org/server/3/images/database/james-database-schema-derby_1000.png>for
>  an old version of the schema).
>
> Are you looking to extract it when processing the mail in a mailet, or
> extract afterwards when already stored in the database? The implementations
> will be quite different depending on your need.
>
> Thx, Eric
>
>
>
> On 20/03/12 20:00, Saibabu Vallurupalli wrote:
>
>> Hi Team,
>>
>> At present I have a requirement to extract the email attachment and put
>> them in a separate folder for different use.
>>
>> What is the best way to do this? Does the attachments are stored in MySQL
>> database?
>>
>> Any inputs on this will be really helpful.
>>
>> Thank you,
>> Sai
>>
>>
> --
> eric | http://about.echarles.net | @echarles
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> server-dev-unsubscribe@james.**apache.org<[email protected]>
> For additional commands, e-mail: 
> [email protected].**org<[email protected]>
>
>

Reply via email to