@Published(tag="architect") public class MailRequester extends Object
TemplateMailContext
)。
予めデータベースに登録されたテンプレートを元にメールを作成・送信する。FreeTextMailContext
)。任意の件名・本文でメールを作成・送信する。MailUtil.getMailRequester()
修飾子とタイプ | メソッドと説明 |
---|---|
String |
requestToSend(FreeTextMailContext ctx)
非定型メールの送信要求を行う。
|
String |
requestToSend(TemplateMailContext ctx)
定型メールの送信要求を行う。
|
@Published public String requestToSend(FreeTextMailContext ctx) throws AttachedFileSizeOverException, RecipientCountException
ctx
- 非定型メール送信要求AttachedFileSizeOverException
- 添付ファイルのサイズが上限値を超えた場合RecipientCountException
- 宛先数が上限値を超えた場合@Published public String requestToSend(TemplateMailContext ctx) throws AttachedFileSizeOverException, RecipientCountException
ctx
- 定型メール送信要求AttachedFileSizeOverException
- 添付ファイルのサイズが上限値を超えた場合RecipientCountException
- 宛先数が上限値を超えた場合