1 Reply Latest reply: Jan 19, 2012 4:31 PM by Bill Shannon-Oracle RSS

    Problems while downloading pdf attachments

    912083
      hi

      I am using JavaMail 1.4.4 and trying to implement mail client. Everything is working fine but I am unable to download pdf attachments savefile method of mimebodypart* skips some bytes while saving attachments._

      for example
      like if I am downloading a attachment using web browser it sizes as 38Kb but if I am downloading same attachment using java code then it sizes as 37.3Kb it skips some bytes.....
      may be I am guessing wrong but generally it skips when attachment password protected but sometimes same code works for password protected attachments...

      appreciate any help...
      Thanks in advance.....

      Edited by: 909080 on Jan 19, 2012 7:00 AM