レポートを作成しメールで送信する

説明

作成したレポートを送信する(実際にはメールソフトに必要な情報が渡される。送信ボタンはユーザーが押す必要がある)にはmail()メソッドを使います。

サンプル [実行する]

rep = new Report();
rep.writeText("■レポート");
for (i=0; i<10; i++) rep.writeText(i);
rep.mail(false,"openspc@alpha.ocn.ne.jp","","","PDF Report","PDF sample");