Class Mailer

java.lang.Object
  extended byMailer

public class Mailer
extends Object

This program sends mails. Call it by
java Mailer filename
where filename designs the file containing the data. For exemple, the following file:

mail.cui.unige.ch
sven@etu.unige.ch, Liam.Bron@cui.unige.ch
Donald.Duck@disney.com
You won a price!
picture.jpg
Hi!

Please visit me at http://disney.go.com/ asap!

See you!

Donald
 
will use "mail.cui.unige.ch" as mail server to send
TO: sven@etu.unige.ch, Liam.Bron@cui.unige.ch
FROM: Donald.Duck@disney.com
SUBJECT: You won a price!
ATTACHMENTS: picture.jpg (if no attachment, write "-")
BODY: the rest of the file

Note that this program needs mail.jar and activation.jar (javamail).

Version:
0.1
Author:
Michel Deriaz

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

Constructor Detail

Mailer

public Mailer(String filename)
Method Detail

main

public static void main(String[] args)