Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nigel Wade Newsgroups: comp.lang.java.programmer Subject: Re: JavaMail bug? Date: Thu, 18 Aug 2011 09:34:21 +0100 Lines: 22 Message-ID: <9b414dFpedU1@mid.individual.net> References: <995djcFq0nU1@mid.individual.net> <99njvpFv11U1@mid.individual.net> <99qjntFk6uU1@mid.individual.net> <99sfoiFs99U1@mid.individual.net> <9b1fvlFjn7U1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net fy0yxPoOR7102AEoq6PkJA1ZgbkWxnIgomKNEHFV4UOD1N/jMi Cancel-Lock: sha1:2/vwfAakYbRq1qZC9cqWUYQNnvs= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7209 On 17/08/11 20:54, Martin Gregorie wrote: >> > I'm not calling Message.saveChanges(), but as something wrapped your text > up in a bit of a ball I'm not sure that your 'don't forget' refers to. > Instead I hung onto the recipient array and just passed it into > Transport.sendMessage(). It also works correctly. > It isn't "mine". It's a quote from the Javadocs. It refers to the saveMessage(), which I've never used. I presume that's in case you want to save the changes to the messages into some message store (Drafts?). The entire package is rather convoluted for simple message generation/submission. I don't know why you don't see the text correctly. The post appears ok viewed in my newsreader (Thunderbird). It's flowed text, maybe your newsreader doesn't like that. But, as far as I can tell, the code part is correctly line-wrapped anyway, rather than flowed. -- Nigel Wade