パッケージ com.handywedge.mail

クラス FWMailMessage

    • コンストラクタの詳細

      • FWMailMessage

        public FWMailMessage()
        コンストラクタ
        デフォルトのメール設定
        • 文字コード: UTF-8
        • 重要度 : NORMAL
        • HTMLフラグ: FALSE
        • 添付ファイルの初期化
    • メソッドの詳細

      • addAttachmentFile

        public void addAttachmentFile​(byte[] b,
                                      String fileName)
        ファイルを添付する。
        パラメータ:
        b - ファイルのバイト配列型
        fileName - ファイル名
      • getAttachmentFiles

        public List<FWAttachmentDataSource> getAttachmentFiles()
        添付された全てのファイルをリストで取得する。
        戻り値:
        添付されたファイルのリスト
      • resetAttachmentFile

        public void resetAttachmentFile()
        添付されたファイルを全て削除する。