Class MailSendController
-
- All Implemented Interfaces:
@RestController()@ConditionalWingsEnabled(abs = TinyMailEnabledProp.Key$mvcSend) public class MailSendController
- Since:
2023-01-13
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMailSendController.Ins
-
Constructor Summary
Constructors Constructor Description MailSendController()
-
Method Summary
Modifier and Type Method Description R<Long>sendMail(@RequestBody() TinyMailPlain mail)R<Long>sendSave(@RequestBody() TinyMailPlain mail)R<Integer>sendScan()R<Boolean>sendRetry(@RequestBody() MailSendController.Ins mail)voidsetTinyMailService(TinyMailService tinyMailService)-
-
Method Detail
-
sendMail
@PostMapping(value = "${" + TinyMailUrlmapProp.Key$sendMail + "}")@ResponseBody() R<Long> sendMail(@RequestBody() TinyMailPlain mail)
-
sendSave
@PostMapping(value = "${" + TinyMailUrlmapProp.Key$sendSave + "}")@ResponseBody() R<Long> sendSave(@RequestBody() TinyMailPlain mail)
-
sendScan
@PostMapping(value = "${" + TinyMailUrlmapProp.Key$sendScan + "}")@ResponseBody() R<Integer> sendScan()
-
sendRetry
@PostMapping(value = "${" + TinyMailUrlmapProp.Key$sendRetry + "}")@ResponseBody() R<Boolean> sendRetry(@RequestBody() MailSendController.Ins mail)
-
setTinyMailService
@Autowired() void setTinyMailService(TinyMailService tinyMailService)
-
-
-
-