org.nuiton.widget
Class Mailor
java.lang.Object
org.nuiton.widget.Mailor
public class Mailor
- extends Object
|
Method Summary |
static void |
main(String[] args)
|
protected void |
send(String smtpServer,
List<?> tos,
String from,
String subject,
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 |
Mailor
public Mailor()
main
public static void main(String[] args)
send
protected void send(String smtpServer,
List<?> tos,
String from,
String subject,
List<?> bodyParts)
throws javax.mail.MessagingException,
IOException
- Send an email using the given informations (stmpServer, toAddress,
fromAddress, subject and body).
- Parameters:
smtpServer - tos - from - subject - bodyParts -
- Throws:
javax.mail.MessagingException
IOException
Copyright © 2004-2010 CodeLutin. All Rights Reserved.