|
Curiouser and curiouser: I just tried running the class from my NT machine, which is on the same Ethernet as the AS/400 on which it's failing. It works fine there. And I can PING the mail server fine from either of the aforementioned machines. I tried using the dotted-decimal IP address of the mail server, instead of the name; no change in the results. The stack-trace comes out (allowing for probable mangling by my ISP's web-mail interface): java.lang.NullPointerException javax/mail/Transport.send0(Ljavax/mail/Message;[Ljavax/mail/Address;)V+0 (Transport.java:109) javax/mail/Transport.send(Ljavax/mail/Message;)V+0 (Transport.java:79) wtmail.main([Ljava/lang/String;)V+186 (wtmail.java:26) Java program completed with exit code 1 The line number for where the exception occurs in "send0" cannot be accurate, as that statement in the official Sun source code is incapable of throwing that exception (and indeed, is in a catch-block for another exception). To coin a phrase: HEEEEEEEEEEEELLLLLLLLLLPPPPPPPP MEEEEEEEEEEEEEEEEEE!!! -- JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.