ok, my mailet is coming along nicely. I have custom matcher that is doing exactly as it should, interfacing with mySQL databases.

I have built my mailet as a sort of bastard child of AddFooter and GenericListServ, but I cannot compile it. The problem is on this line here:
                        
                MimeMessage message = new MimeMessage(mail.getMessage());

With this line in, I get a bunch of errors on compile:

/usr/lib/jvm/java-1.5.0-sun/javax/mail/Session.java:912: cannot find symbol
        symbol  : variable Version
        location: class javax.mail.Session
                        "Sun Microsystems, Inc.", Version.version));
                                                  ^
If I replace it with:   
                MimeMessage message = mail.getMessage();
it compiles, but of course, does not work (presumably because then we have a message being owned by to mail objects)

I can rebuild the whole method using the AbstractRedirect's way of doing things (using MailImpl message = new MailImpl(mail); ), but that is a significant change, so before I do that, I thought I'd ask the list if anyone knew why genericListServ's code was not compiling for me.

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to