RFC822 - Sending to group ; attachment issue ; GSSException

Rico <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.javamail
Message-ID <[email protected]>
Hello Everyone.

Using Sun's JavaMail I can send an email which includes a 67KB PDF to a group
like

    "Mark & Tommy":[email protected], [email protected];

With GNU's JavaMail, which was a pain to compile, asking for perseverance over
a
few days :

(i)   The email only makes it to the first mailbox
(ii)  The attachment is seen as a 1KB text file, and it is garbage in there
(iii) I get GSSException and some missing C:\WINNT\krb5.ini file

Regarding compilation, which I tried on Cygwin:
Both the latest CVS and release 1.0 of activation end up with
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
source/javax/activation/ActivationDataFlavor.java:117: error: Final methods
can'
t be overriden. Method
`java.awt.datatransfer.DataFlavor.isMimeTypeEqual(java.la
ng.String)' is final in class `java.awt.datatransfer.DataFlavor'.
       public boolean isMimeTypeEqual(String mimeType)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

So I moved on and tried to compile 'mail' with Sun's activation.jar :
Most often I run into
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gcj -C -g -classpath
./source:./lib/activation.jar:/usr/local/share/java/inetlib
.jar:../inetlib/jsse/jsse.jar -d classes source/gnu/mail/handler/Multipart.java
source/gnu/mail/handler/Multipart.java: In class `gnu.mail.handler.Multipart':
source/gnu/mail/handler/Multipart.java: In constructor
`(java.lang.String,java.l
ang.String)':
javax/activation/ActivationDataFlavor.java:0: error: non-static method
'javax.ac
tivation.ActivationDataFlavor.isMimeTypeEqual(java.lang.String)' overrides
stati
c method
make: *** [classes/gnu/mail/handler/Multipart.class] Error 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Once or twice though, the problem above miraculously solved itself and I was
able to produce gnumail.jar and gnumail-providers.jar

Rico.


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.