[net] decoding quoted-printable?

2014-02-03 Thread Alex O'Ree
I'm sending an email to a local mail server (hmail) using the standard javax.mail api. Here's a snippit MimeMessage message = new MimeMessage(session); InternetAddress address = new InternetAddress(receiver@local.domain); Address[] to = {address}; message.setRecipients(RecipientType.TO, to);

Re: [net] decoding quoted-printable?

2014-02-03 Thread Thomas Neidhart
On 02/03/2014 05:48 PM, Alex O'Ree wrote: I'm sending an email to a local mail server (hmail) using the standard javax.mail api. Here's a snippit MimeMessage message = new MimeMessage(session); InternetAddress address = new InternetAddress(receiver@local.domain); Address[] to = {address};

Re: [net] decoding quoted-printable?

2014-02-03 Thread Alex O'Ree
Thanks for the quick reply. I'm running into this now. org.apache.commons.codec.DecoderException: Invalid URL encoding: not a valid digit (radix 16): 117 from the following code: BufferedReader reader = (BufferedReader) pop3.retrieveMessage(msginfo.number); String line = ; StringBuilder sb =

Re: [net] decoding quoted-printable?

2014-02-03 Thread Thomas Neidhart
On 02/03/2014 07:16 PM, Alex O'Ree wrote: Thanks for the quick reply. I'm running into this now. org.apache.commons.codec.DecoderException: Invalid URL encoding: not a valid digit (radix 16): 117 from the following code: BufferedReader reader = (BufferedReader)

Re: [net] decoding quoted-printable?

2014-02-03 Thread Alex O'Ree
Thanks for the tip. Problem solved with commons-email! On Mon, Feb 3, 2014 at 1:31 PM, Thomas Neidhart thomas.neidh...@gmail.com wrote: On 02/03/2014 07:16 PM, Alex O'Ree wrote: Thanks for the quick reply. I'm running into this now. org.apache.commons.codec.DecoderException: Invalid URL