com.jcorporate.expresso.core.utility
Class MailFiles
java.lang.Object
com.jcorporate.expresso.core.utility.MailFiles
- public class MailFiles
- extends Object
- Author:
- Michael Nash
|
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 |
MailFiles
public MailFiles()
- Constructor
MailFiles
public MailFiles(String[] args)
- Constructor
main
public 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. Quote if contains spaces
- dirOrFile: Directory of files or single file name. Entire contents
of directory will be sent if a directory name is supplied.
Please see www.jcorporate.com for information about new Expresso releases.