パッケージ org.iplass.mtp.impl.mail
クラス MailServiceImpl
java.lang.Object
org.iplass.mtp.impl.definition.AbstractTypedMetaDataService<MetaMailTemplate,MetaMailTemplate.MailTemplateRuntime>
org.iplass.mtp.impl.mail.MailServiceImpl
- すべての実装されたインタフェース:
TypedMetaDataService<MetaMailTemplate,,MetaMailTemplate.MailTemplateRuntime> MailService,Service
public class MailServiceImpl
extends AbstractTypedMetaDataService<MetaMailTemplate,MetaMailTemplate.MailTemplateRuntime>
implements MailService
-
ネストされたクラスの概要
ネストされたクラス -
フィールドの概要
フィールド -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明createMail(Tenant tenant, String charset) メール送信情報を生成する。voiddestroy()protected booleanfireOnSendMail(Mail mail) 登録されたSendMailListnerに通知します。protected voidfireOnSuccess(Mail mail) static Stringメタデータのクラスを取得します。intlongメタデータのRuntimeクラスを取得します。protected voidhandleException(Mail mail, Exception e) voidvoidテナント情報に設定されているメール情報を利用してメールを送信する。protected final voidsetMessage(Mail mail, jakarta.mail.internet.MimeMessage message, String charset) protected final voidsetRecipients(Mail mail, jakarta.mail.internet.MimeMessage message) メール送信アドレスを設定する。クラスから継承されたメソッド org.iplass.mtp.impl.definition.AbstractTypedMetaDataService
createMetaData, getRuntimeById, getRuntimeByName, list, list, nameList, removeMetaData, updateMetaDataクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド org.iplass.mtp.impl.definition.TypedMetaDataService
createMetaData, getRuntimeById, getRuntimeByName, list, list, nameList, removeMetaData, updateMetaData
-
フィールド詳細
-
MAIL_TEMPLATE_META_PATH
- 関連項目:
-
ISO_2022_JP
- 関連項目:
-
ENCODING_7BIT
- 関連項目:
-
DEFAULT_TIMEOUT_MILLIS
- 関連項目:
-
MAIL_SMTP_POPBEFORESMTP
- 関連項目:
-
MAIL_POP3_AUTH_ID
- 関連項目:
-
MAIL_POP3_AUTH_PASSWORD
- 関連項目:
-
MAIL_SMTP_AUTH_ID
- 関連項目:
-
MAIL_SMTP_AUTH_PASSWORD
- 関連項目:
-
MAIL_CHARSET
- 関連項目:
-
MAIL_ENCODING
- 関連項目:
-
-
コンストラクタの詳細
-
MailServiceImpl
public MailServiceImpl()コンストラクタ
-
-
メソッドの詳細
-
getSendProperties
-
getFixedPath
-
getSmimeHandler
-
getRetryIntervalMillis
public long getRetryIntervalMillis() -
getRetryCount
public int getRetryCount() -
getListener
-
init
-
destroy
public void destroy() -
createMail
インタフェースからコピーされた説明:MailServiceメール送信情報を生成する。- 定義:
createMailインタフェース内MailService- パラメータ:
tenant- テナント情報- 戻り値:
- Mail送信情報
-
sendMail
インタフェースからコピーされた説明:MailServiceテナント情報に設定されているメール情報を利用してメールを送信する。- 定義:
sendMailインタフェース内MailService- パラメータ:
tenant- テナント情報mail- 送信するメール情報
-
setRecipients
protected final void setRecipients(Mail mail, jakarta.mail.internet.MimeMessage message) throws jakarta.mail.MessagingException メール送信アドレスを設定する。- パラメータ:
mail- 送信情報message- 送信情報を設定するMessage- 例外:
jakarta.mail.MessagingException- メッセージにエラーがある場合
-
setMessage
protected final void setMessage(Mail mail, jakarta.mail.internet.MimeMessage message, String charset) throws jakarta.mail.MessagingException - 例外:
jakarta.mail.MessagingException
-
fireOnSendMail
登録されたSendMailListnerに通知します。- パラメータ:
mail- メールmimeMessage- メールから生成したメッセージ
-
fireOnSuccess
-
handleException
-
getMetaDataType
インタフェースからコピーされた説明:TypedMetaDataServiceメタデータのクラスを取得します。- 定義:
getMetaDataTypeインタフェース内TypedMetaDataService<MetaMailTemplate,MetaMailTemplate.MailTemplateRuntime> - 戻り値:
-
getRuntimeType
インタフェースからコピーされた説明:TypedMetaDataServiceメタデータのRuntimeクラスを取得します。- 定義:
getRuntimeTypeインタフェース内TypedMetaDataService<MetaMailTemplate,MetaMailTemplate.MailTemplateRuntime> - 戻り値:
-