🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2088

javamail and attachments

#2088
From: rp
Date: Thu, 07 Jun 2001 15:25
4 lines
1023 bytes
I need to send a message with an attachment but all the api methods seem to
require a file on disk.
Is there a way to set an attachment with a string, stream, stringbuffer, or
some other in memory structure?
Technical Details
Message-ID: <3b1f9d55$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,dbe428c8d158e4de,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-06-07 08:49:48 PST
From: "rp" <admin@objectpascal.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: javamail and attachments
Date: Thu, 7 Jun 2001 10:25:52 -0500
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 216.54.255.164
Message-ID: <3b1f9d55$1_2@dnews>
X-Trace: dnews 991927637 216.54.255.164 (7 Jun 2001 08:27:17 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews