git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4992
7612ce4b-ef26-0410-bec9-
ea0150e637f0
}
$body = $newBody;
- do_hook('compose_send');
+
$composeMessage=$compose_messages[$session];
$Result = deliverMessage($composeMessage);
$rfc822_header->content_type = $content_type;
$composeMessage->rfc822_header = $rfc822_header;
+
+ /* Here you can modify the message structure just before we hand
+ it over to deliver */
+ do_hook('compose_send');
if (!$useSendmail && !$draft) {
require_once(SM_PATH . 'class/deliver/Deliver_SMTP.class.php');