Re: JavaMail/JMTA help request
Re: JavaMail/JMTA help request
- Subject: Re: JavaMail/JMTA help request
- From: Nathan Dumar <email@hidden>
- Date: Wed, 27 Oct 2004 09:23:25 -0400
Zak,
I appreciate the help. You've saved me a lot of hunting around. :-)
Thanks,
Nathan
On Oct 26, 2004, at 7:41 PM, Zak Burke wrote:
To slurp an Exception's stacktrace into a String, do this:
import java.io.StringWriter;
import java.io.PrintWriter;
...
Exception e = new Exception("bad things");
StringWriter sw = new StringWriter();
e.printStackTrace(new PrintWriter(sw));
String stackTrace = sw.toString();
zak.
Nathan Dumar wrote on 10/26/04 5:36 PM:
Once again, you're right. I was sending mail to myself (which will
eventually include the stack trace, when I figure out how to do
that). My ISP was blocking the incoming mail, not blocking the SMTP
server. So, I just send to my yahoo address, and problem solved.
Thanks yet again.
Nathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden