|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.shift.framework.mail.Mail
public class Mail
JAVA MailÀ» ÀÌ¿ëÇÑ ¸ÞÀÏ Å¬·¡½º.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Mail()
Mail°´Ã¼¸¦ »ý¼º |
|
Mail(java.lang.String mailId)
Mail°´Ã¼¸¦ »ý¼º [mailId]¸¦ Àоî¿Í¼ ¼³Á¤ |
Method Summary | |
---|---|
void |
run()
MailÀ» ¹ß¼Û[Thread] |
void |
sendMail()
MailÀ» Àü¼ÛÇÏ´Â ¸Þ¼Òµå |
void |
setAttachedFile(java.util.ArrayList attachFile)
÷ºÎ ÆÄÀÏ |
void |
setMailContent(java.lang.String mailContents)
¸ÞÀÏ ³»¿ëÀ» ¼³Á¤ÇÏ´Â ¸Þ¼Òµå |
void |
setMailTitle(java.lang.String mailTitle)
¸ÞÀÏ Á¦¸ñÀ» ¼³Á¤ÇÏ´Â ¸Þ¼Òµå |
void |
setRc(java.util.ArrayList rc)
¼ö½ÅÀÚ¸¦ ¼³Á¤ÇÏ´Â ¸Þ¼Òµå |
void |
setTo(java.lang.String senderName,
java.lang.String senderMailAddr)
¸ÞÀÏ ¹ß¼ÛÀÚ¸í/¹ß¼ÛÀÚ ¸ÞÀÏ ÁÖ¼Ò¸¦ ¼³Á¤ÇÏ´Â ¸Þ¼Òµå |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Mail()
public Mail(java.lang.String mailId)
mailId
- beaver.xml¿¡ ÀԷµǾîÀÖ´Â SMTPÀÇ ID°ªMethod Detail |
---|
public void setTo(java.lang.String senderName, java.lang.String senderMailAddr)
senderName
- ¹ß¼ÛÀÚ ¸ísenderMailAddr
- ¹ß¼ÛÀÚ ¸ÞÀÏÁÖ¼Òpublic void setRc(java.util.ArrayList rc)
rc
- ¼ö½ÅÀÚ Á¤º¸public void setMailContent(java.lang.String mailContents)
mailContents
- ¸ÞÀÏ ³»¿ëpublic void setMailTitle(java.lang.String mailTitle)
mailTitle
- ¸ÞÀÏ Á¦¸ñpublic void setAttachedFile(java.util.ArrayList attachFile)
attachFile
- ÷ºÎÆÄÀÏ ¸®½ºÆ®public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void sendMail() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |