practicaltest
Class msgsendsample

java.lang.Object
  extended by practicaltest.msgsendsample

public class msgsendsample
extends java.lang.Object

msgsendsample creates a very simple text/plain message and sends it.

usage: java msgsendsample to from smtphost true|false where to and from are the destination and origin email addresses, respectively, and smtphost is the hostname of the machine that has the smtp server running. The last parameter either turns on or turns off debugging during sending.

Author:
Max Spivak

Constructor Summary
msgsendsample()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

msgsendsample

public msgsendsample()
Method Detail

main

public static void main(java.lang.String[] args)