org.nuiton.widget
Class Mailor

java.lang.Object
  extended by org.nuiton.widget.Mailor

public class Mailor
extends java.lang.Object


Constructor Summary
Mailor()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void send(java.lang.String smtpServer, java.util.List<?> tos, java.lang.String from, java.lang.String subject, java.util.List<?> bodyParts)
          Send an email using the given informations (stmpServer, toAddress, fromAddress, subject and body).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mailor

public Mailor()
Method Detail

main

public static void main(java.lang.String[] args)

send

protected void send(java.lang.String smtpServer,
                    java.util.List<?> tos,
                    java.lang.String from,
                    java.lang.String subject,
                    java.util.List<?> bodyParts)
             throws javax.mail.MessagingException,
                    java.io.IOException
Send an email using the given informations (stmpServer, toAddress, fromAddress, subject and body).

Parameters:
smtpServer -
tos -
from -
subject -
bodyParts -
Throws:
javax.mail.MessagingException
java.io.IOException


Copyright © 2004-2009 CodeLutin. All Rights Reserved.