Class MailTest

java.lang.Object
  extended by MailTest

public class MailTest
extends Object

Demonstration program for the Simple Java Mail framework.

IMPORTANT:
This testclass was designed to run from the commandline (or by Ant) and expects some system properties to be present. See Readme.txt for instructions. Alternatively, you can assign the host, username and password a hard value and ignore the system properties altogether.

Author:
Benny Bottema

Constructor Summary
MailTest()
           
 
Method Summary
static void main(String[] args)
          Just run as Java application, but remember to set the JVM arguments first.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailTest

public MailTest()
Method Detail

main

public static void main(String[] args)
Just run as Java application, but remember to set the JVM arguments first.

Parameters:
args - should be empty, this demo uses JVM arguments only (-Dhost=value etc.).


Copyright © 2011. All Rights Reserved.