New post-send hook. Though compose_sent could be a good hook name, it's too similar...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 9 Nov 2005 21:17:21 +0000 (21:17 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 9 Nov 2005 21:17:21 +0000 (21:17 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10307 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index b288832..e025c8a 100644 (file)
@@ -464,6 +464,7 @@ if ($send) {
         $composeMessage=$compose_messages[$session];
 
         $Result = deliverMessage($composeMessage);
+        do_hook('compose_send_after', $Result, $composeMessage);
         if (! $Result) {
             showInputForm($session);
             exit();