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