jamesを使ってみる
- http://james.apache.org/download.cgi:titile=ここからApache Jamesをダウンロード
- telnet localhost 4555で Jamesの管理サービスに接続
- root/rootでログイン
- adduser user pass でアカウントの追加
- GenericMailet を継承してmailetを作成
- 設定ファイル(%JAMES_HOME%\apps\james\SAR-INF\config.xml)を記述する。
設定ファイル
<!-- ホスト名 --> <servername>localhost</servername> <!-- mailet --> <mailet match="RecipientIs=user@localhost" class="jp.co.suusuke.mailet.TestMailet"> <imagepath>C:/tmp/</imagepath> </mailet>
詳しくは後で書く。