commons-mail
b2007092401

org.phosphoresce.commons.mail
クラス MailSendTransaction

java.lang.Object
  拡張org.phosphoresce.commons.mail.MailTransaction
      拡張org.phosphoresce.commons.mail.MailSendTransaction
すべての実装インタフェース:
MailDeclareInterface

public final class MailSendTransaction
extends MailTransaction

メール送信操作トランザクションクラス。

作成者:
Kitagawa

フィールドの概要
 
インタフェース org.phosphoresce.commons.mail.MailDeclareInterface から継承したフィールド
CHARSET_ISO_2022_JP, DEFAULT_MIME_CHARSET, EMAIL_EXTENSION, PRIMARY_FOLDER
 
コンストラクタの概要
MailSendTransaction(MailConfiguration configuration)
          コンストラクタ
 
メソッドの概要
 void send(MailMessage message)
          指定されたメッセージを送信します。
 
クラス org.phosphoresce.commons.mail.MailTransaction から継承したメソッド
begin, close, isOpened
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MailSendTransaction

public MailSendTransaction(MailConfiguration configuration)
コンストラクタ

パラメータ:
configuration - 環境設定情報オブジェクト
メソッドの詳細

send

public void send(MailMessage message)
          throws MailException,
                 MailTransactionException
指定されたメッセージを送信します。

パラメータ:
message - メッセージオブジェクト
例外:
MailException - 正常に送信処理が行えなかった場合に発生
MailTransactionException - トランザクションが開始されていない状態で処理が行われた場合に発生します

commons-mail
b2007092401