org.opengts.util
Class SendMail.Args

java.lang.Object
  extended by org.opengts.util.SendMail.Args
Enclosing class:
SendMail

public static class SendMail.Args
extends java.lang.Object

A container for the arguments of an email


Constructor Summary
SendMail.Args(java.util.Properties headers, java.lang.String from, java.lang.String[] to, java.lang.String[] cc, java.lang.String[] bcc, java.lang.String subject, java.lang.String msgBody, SendMail.Attachment attach, SendMail.SmtpProperties smtpProps, boolean queRetry)
           
 
Method Summary
 SendMail.Attachment getAttachment()
           
 java.lang.String[] getBcc()
           
 java.lang.String getBody()
           
 java.lang.String[] getCc()
           
 java.lang.String getFrom()
           
 java.util.Properties getHeaders()
           
 boolean getQueueRetry()
           
 int getRetryCount()
           
 SendMail.SmtpProperties getSmtpProperties()
           
 java.lang.String getSubject()
           
 java.lang.String[] getTo()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMail.Args

public SendMail.Args(java.util.Properties headers,
                     java.lang.String from,
                     java.lang.String[] to,
                     java.lang.String[] cc,
                     java.lang.String[] bcc,
                     java.lang.String subject,
                     java.lang.String msgBody,
                     SendMail.Attachment attach,
                     SendMail.SmtpProperties smtpProps,
                     boolean queRetry)
Method Detail

getHeaders

public java.util.Properties getHeaders()

getFrom

public java.lang.String getFrom()

getTo

public java.lang.String[] getTo()

getCc

public java.lang.String[] getCc()

getBcc

public java.lang.String[] getBcc()

getSubject

public java.lang.String getSubject()

getBody

public java.lang.String getBody()

getAttachment

public SendMail.Attachment getAttachment()

getSmtpProperties

public SendMail.SmtpProperties getSmtpProperties()

getQueueRetry

public boolean getQueueRetry()

getRetryCount

public int getRetryCount()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object