Article View: borland.public.jbuilder.java.api
Article #1780javax.mail
From: Martijn
Date: Thu, 06 Sep 2001 08:32
Date: Thu, 06 Sep 2001 08:32
16 lines
1453 bytes
1453 bytes
Hello,
I've created a mail app where an automailer sends a mail to a client. The
content consists out of a html that should come from 2 (or more) files. I've
made it run great with one file:
javax.activation.DataSource fds = new
javax.activation.FileDataSource(f);
javax.activation.DataHandler dh2 = new
javax.activation.DataHandler(fds);
message.setDataHandler(dh2);
How can i set the content without getting a multiple message. So both files
should be appended to each other in the message.
Martijn
Technical Details
Message-ID:
<9n7cba$fij$1@news1.xs4all.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,3d57d0e36cc9857e,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-09-06 01:32:43 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!not-for-mail From: "Martijn" <vdpauw@xs4all.nl> Newsgroups: borland.public.jbuilder.java.api Subject: javax.mail Date: Thu, 6 Sep 2001 10:32:40 +0200 Organization: XS4ALL Internet BV Lines: 18 Message-ID: <9n7cba$fij$1@news1.xs4all.nl> NNTP-Posting-Host: meteowww.meteocon.nl X-Trace: news1.xs4all.nl 999765162 15955 192.87.105.128 (6 Sep 2001 08:32:42 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 6 Sep 2001 08:32:42 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3