I downloaded James 3, and, wow, there are many JAR's.
Looking at:
Listing 4. MailClient: Simulating the basic functionality of an e-mail
client
http://www.ibm.com/developerworks/java/library/j-james1/index.html
I surely don't need all those JAR's in my classpath, do I? I only need:
import java.io.*;
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
and then you make session:
session = Session.getInstance(props, this);
now, nowhere in any of that code do I see "connect to James". How do
you know that you're connecting to James and not something else?
Is James like Apache httpd where you need it always running as a
service? Or, can you maybe "start" (?) James from within MailClient?
thanks,
Thufir
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]