org.jtheque.core.utils
Class MailUtils

java.lang.Object
  extended by org.jtheque.core.utils.MailUtils

public final class MailUtils
extends java.lang.Object

Utility class for send mail.

Author:
Baptiste Wicht

Method Summary
static void send(org.jtheque.utils.bean.Email email, java.lang.String host)
          Send an email.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

send

public static void send(org.jtheque.utils.bean.Email email,
                        java.lang.String host)
                 throws javax.mail.MessagingException
Send an email.

Parameters:
email - The email to send.
host - The host to send the message.
Throws:
javax.mail.MessagingException - Can throw this exception if an exception occurs during the send of the mail


Copyright © 2009 JTheque. All Rights Reserved.