Expresso 5-6

com.jcorporate.expresso.core.utility
Class MailFiles

java.lang.Object
  extended bycom.jcorporate.expresso.core.utility.MailFiles

public class MailFiles
extends Object

Author:
Michael Nash

Constructor Summary
MailFiles()
          Constructor
MailFiles(String[] args)
          Constructor
 
Method Summary
static void main(String[] args)
          Main method Parameters are: mailServer: SMTP Server name for sending e-mails mailFrom: Value to use as the "from" field in e-mails sendToUser: E-mail address to send message to subject: Subject of message message: Text of message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailFiles

public MailFiles()
Constructor


MailFiles

public MailFiles(String[] args)
Constructor

Method Detail

main

public static void main(String[] args)
Main method Parameters are:
  1. mailServer: SMTP Server name for sending e-mails
  2. mailFrom: Value to use as the "from" field in e-mails
  3. sendToUser: E-mail address to send message to
  4. subject: Subject of message
  5. message: Text of message. Quote if contains spaces
  6. dirOrFile: Directory of files or single file name. Entire contents of directory will be sent if a directory name is supplied.


Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.