Class MailWriteController
java.lang.Object
deu.cse.spring_webmail.mail.controller.MailWriteController
메일 쓰기를 위한 제어기
- Author:
- Prof.Jong Min Lee
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwriteMailDo
(String to, String cc, String subj, String body, org.springframework.web.multipart.MultipartFile upFile, org.springframework.web.servlet.mvc.support.RedirectAttributes attrs, Principal principal) writeMailEditDo
(String to, String cc, String subj, String body, org.springframework.web.multipart.MultipartFile upFile, String mailUid, String fileName, org.springframework.web.servlet.mvc.support.RedirectAttributes attrs, Principal principal) writeMailFail
(String error, org.springframework.ui.Model model) writeMailTemp
(String to, String cc, String subj, String body, org.springframework.web.multipart.MultipartFile upFile, org.springframework.web.servlet.mvc.support.RedirectAttributes attrs, Principal principal)
-
Field Details
-
MAX_SIZE
-
emailSender
-
downloadFolder
-
-
Constructor Details
-
MailWriteController
-
-
Method Details
-
writeMail
-
writeMailSuccess
-
writeMailFail
-
writeMailDo
@PostMapping("/write_mail.do") public String writeMailDo(@RequestParam String to, @RequestParam String cc, @RequestParam String subj, @RequestParam String body, @RequestParam(name="file1",required=false) org.springframework.web.multipart.MultipartFile upFile, org.springframework.web.servlet.mvc.support.RedirectAttributes attrs, Principal principal) -
writeMailEditDo
@PostMapping("/write_mail_edit.do") public String writeMailEditDo(@RequestParam String to, @RequestParam String cc, @RequestParam String subj, @RequestParam String body, @RequestParam(name="file1",required=false) org.springframework.web.multipart.MultipartFile upFile, @RequestParam String mailUid, @RequestParam String fileName, org.springframework.web.servlet.mvc.support.RedirectAttributes attrs, Principal principal) -
writeMailTemp
@PostMapping("write_mail.temp") public String writeMailTemp(@RequestParam String to, @RequestParam String cc, @RequestParam String subj, @RequestParam String body, @RequestParam(name="file1",required=false) org.springframework.web.multipart.MultipartFile upFile, org.springframework.web.servlet.mvc.support.RedirectAttributes attrs, Principal principal)
-