com.microdeveloper.util.net.mail
Class SendJMail
java.lang.Object
com.microdeveloper.util.net.mail.SendJMail
public class SendJMail
- extends Object
A simple command line test implementation of JMail. This class uses a simple static wrapper to invoke a basic
E-mail send through a shell. If the class is invoked without parameters it outputs usage instructions to the
console. The class will send four E-mails, a PLAINTEXT and HTML variant using the static method, and a PLAINTEXT
and HTML variant using a instantiated (bean property) method.
Syntax:
sendText [[-h host]] [-s subject] [-f from-address] [-t to-address] [-c cc-addresses] [-b bcc-addresses]"
- Since:
- 1.4
- Version:
- 1.0
- Author:
- MicroDeveloper, Inc.
- See Also:
JMail
Constructor Summary |
SendJMail()
Creates a new instance of SendJMail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SendJMail
public SendJMail()
- Creates a new instance of SendJMail
main
public static void main(String[] args)
- Parameters:
args
- the command line arguments
Copyright©2001-2007 MicroDeveloper, Inc. All Rights Reserved.