problem with

    Dec 06 2005 | 5:05 pm
    hello, i try to save the attachment (wave file) with i successed to save it to a file, but the file is broken and i can't listen the sound. what is the problem ?
    the message i had send is "saveAttachment 1 1 /attachment1.wav 1" and "saveAttachment 1 1 / attachment1.wav".
    thanks a lot. sawako

    • Feb 20 2006 | 4:06 am
      I'm having a similar problem as Sawako. jpg files sent as attachments open as text. I didn't see a response on the list. Pardons if I missed it.
      Content-Transfer-Encoding: base64 Content-Type: image/jpeg; x-unix-mode=0644; name="itsaparty.jpg" Content-Disposition: inline; filename=itsaparty.jpg
      Is this expected behavior or am I messing up?
      OSX 10.4.4 Max 4.5.6 javamail 1.3.3_01 Jaf-1.0.2 max.jar dated 10/24/05
    • Mar 15 2006 | 5:00 am
      I've placed an incremental update to the net.mail.recv example class here:
      I added support for saving jpeg attachments. Sawako, the code for being able to save .wav or .aiff or other binary types should be similar. I'm hoping you'll be able to implement it yourself - this is an example, and the code is available. If you are stuck and can't make it happen holler at me and I'll see what I can do.