com.dynamide.util
Class Mail

java.lang.Object
  extended by com.dynamide.util.Mail

public class Mail
extends java.lang.Object


Constructor Summary
Mail()
           
 
Method Summary
static java.lang.String lookupHost()
           
static java.util.Properties lookupHostPort(java.util.Properties props)
           
static java.lang.String lookupPort()
           
static boolean sendMail(java.lang.String to, java.lang.String from, java.lang.String subject, java.lang.String body)
           
static java.util.List sendMail(java.lang.String to, java.lang.String from, java.lang.String subject, java.lang.String body, java.util.List bcc)
          Returns a List of Strings describing any failures, such as incorrect address formats, or an empty List if no errors; Mail is sent for all addresses that do not have errors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mail

public Mail()
Method Detail

lookupHost

public static java.lang.String lookupHost()

lookupPort

public static java.lang.String lookupPort()

lookupHostPort

public static java.util.Properties lookupHostPort(java.util.Properties props)

sendMail

public static boolean sendMail(java.lang.String to,
                               java.lang.String from,
                               java.lang.String subject,
                               java.lang.String body)

sendMail

public static java.util.List sendMail(java.lang.String to,
                                      java.lang.String from,
                                      java.lang.String subject,
                                      java.lang.String body,
                                      java.util.List bcc)
Returns a List of Strings describing any failures, such as incorrect address formats, or an empty List if no errors; Mail is sent for all addresses that do not have errors.



Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.