🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11128

java.mail Attachment and interbase

#11128
From: Galo Alcolea
Date: Sun, 15 Dec 2002 21:25
14 lines
1658 bytes
Hello
I have a great problem (my experience with Java is small).
I need to insert in a field interbase BLOB 6.5 a file added to an electronic
mail message that I try with the API of java.mail. I would need help, since
of it depends it my application of course end. (An electronic mail agent).
The one added is received by means of part.getInputStream ();
(part corresponds one of the possible parts of a message of the type
MimeMultipart).
My biggest problem comes when trying to convert the getInputStreama a type
of compatible fact with the sentence SQL that allows to introduce the data
in the field Blob.
I need to store it in the database it stops later on through other methods
to be able to save him in file
Thank you
Technical Details
Message-ID: <atis4o$13rks3$1@ID-146066.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!213-96-125-230.uc.nombres.ttd.ES!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,90ea4ae9ee975fc7,start
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-15 13:28:37 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!213-96-125-230.uc.nombres.ttd.ES!not-for-mail
From: "Galo Alcolea" <galcolea@teleline.es>
Newsgroups: borland.public.interbase.sql
Subject: java.mail Attachment and interbase
Date: Sun, 15 Dec 2002 22:25:22 +0100
Lines: 16
Message-ID: <atis4o$13rks3$1@ID-146066.news.dfncis.de>
NNTP-Posting-Host: 213-96-125-230.uc.nombres.ttd.es (213.96.125.230)
X-Trace: fu-berlin.de 1039987672 37606275 213.96.125.230 (16 [146066])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4920.2300
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300