Logo of Bento frameworkspaceObject Oriented Programming


Source code example of SmtpSender Part 1


   SmtpSender smtp=SmtpSender.getInstance();
   MailToBeSent send=new MailToBeSent();
   send.setSubject("Hello");
   send.setFromAddress("some@bar.com","Someone");
   send.addToAddress("another@foo.com","Anotherone");
   send.setBody("Hello, this is test!");
   smtp.sendMail(send);


Copyright © 1997-2007 OOP-Research CorporationTM, All Rights Reserved.