Monday, August 19, 2002 03:58 AM
Firstly, JavaMail doesn't need configuration as such. You do have to add the .jar files packaged with the JavaMail download to your CLASSPATH environment variable, as well as the JAF .jar file (activation.jar).
Whether you are using Apache, IIS, or whatever as your web server does not have anything to do with "configuring"/using JavaMail.
The relevant thing is to know which mail transfer agent to use (i.e. sendmail on localhost, some smtp server at smtp.somedomain.com etc.). These things are well documented in the JavaMail tutorial by JGuru at java.sun.com: