diff options
-rw-r--r-- | src/F2M.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/F2M.php b/src/F2M.php index 52d1eb2..3c3d16a 100644 --- a/src/F2M.php +++ b/src/F2M.php @@ -7,6 +7,9 @@ catch (Exception $e) { trigger_error($e, E_USER_ERROR); } +# TODO: wrap long lines +# TODO: handle attachments + function send_to_lists($user, $mode, $data, $post_data) { /* @@ -16,6 +19,14 @@ function send_to_lists($user, $mode, $data, $post_data) { print '</p>'; */ +/* + $text = nl2br($data['message']); + $bbcode = new bbcode(base64_encode($data['bbcode_bitfield'])); + $bbcode->bbcode_second_pass($text, $data['bbcode_uid'], $data['bbcode_bitfield']); + + print $text; +*/ + require_once('Mail.php'); require_once(__DIR__ . '/Bridge.php'); |