|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.YoUmail.ComposeAction
处理编辑的信件
Field Summary |
Fields inherited from class org.apache.struts.action.Action |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
Constructor Summary | |
ComposeAction()
|
Method Summary | |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
private static void |
saveAsMulti(javax.mail.Message msg,
java.lang.String body,
AttachmentList attachmentList)
复合邮件 |
private static void |
saveAsText(javax.mail.Message msg,
java.lang.String body)
文本邮件 |
Methods inherited from class org.apache.struts.action.Action |
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComposeAction()
Method Detail |
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws SessionTimeOutException, javax.mail.MessagingException, CreateMailFailException, SendMailFailException, MailboxFullException, MessageSaveException
SessionTimeOutException
javax.mail.MessagingException
CreateMailFailException
SendMailFailException
MailboxFullException
MessageSaveException
private static void saveAsText(javax.mail.Message msg, java.lang.String body) throws javax.mail.MessagingException
msg
- body
-
javax.mail.MessagingException
private static void saveAsMulti(javax.mail.Message msg, java.lang.String body, AttachmentList attachmentList) throws javax.mail.MessagingException
msg
- body
- attachmentList
-
javax.mail.MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |