FileDocCategorySizeDatePackage
MailerTest.javaAPI DocExample499Fri Dec 28 10:02:02 GMT 2001jabadot

MailerTest

public class MailerTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		Mailer m = new Mailer();
		m.setFrom("jabadot@daroad.darwinsys.com");
		m.setSubject("Have a nice day");
		m.addTo("ian");
		m.setBody("I have been wondering if you would permit me " +
			"to introduce myself\n");
		m.setVerbose(true);					// debugging
		m.setServer("127.0.0.1");
		m.doSend();