× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Have you set the property "smtp.debug" to "true" to get debug
information?  I'm not sure if this will give any helpful information
related to your problem, but it does spit out a lot of debug info.

What version of mail.jar are you using?

-----Original Message-----
From: java400-l-bounces+tkosacek=visioninfo.com@midrange.com
[mailto:java400-l-bounces+tkosacek=visioninfo.com@midrange.com] On
Behalf Of jamesl@hb.quik.com
Sent: Tuesday, January 28, 2003 8:29 AM
To: java400-l@midrange.com
Subject: Re: Weird JavaMail problem


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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.