Package edu.pdx.cs410J.examples
Class MailFile
java.lang.Object
edu.pdx.cs410J.examples.MailFile
This program uses the JavaMail API to send a file to someone as a
MIME attachment to an email. More information about the JavaMail
API is available from http://java.sun.com/products/javamail.
- Author:
- David Whitlock
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MailFile
public MailFile()
-
-
Method Details
-
main
Reads the name of the file to be sent, the recipient of the email, and the subject of the email (which may contain multiple words) from the command line. Then uses the JavaMail API to construct an email message.
-