Includes for being called from plugins, etc
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 11 Mar 2008 05:46:47 +0000 (05:46 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 11 Mar 2008 05:46:47 +0000 (05:46 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13030 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/compose.php

index 753c3888140f11cebc2d2a984d2081487328ddd1..f36d40bdc11c54ef0fbf12c99ca11dccf6b573ec 100644 (file)
@@ -93,6 +93,11 @@ function sq_get_attach_tempfile()
 function sq_send_mail($to, $subject, $body, $from, $cc='', $bcc='', $message='')
 {
 
+   require_once(SM_PATH . 'class/mime/Message.class.php');
+   require_once(SM_PATH . 'class/mime/Rfc822Header.class.php');
+   require_once(SM_PATH . 'class/mime/ContentType.class.php');
+   require_once(SM_PATH . 'class/mime/AddressStructure.class.php');
+
    if (empty($message))
    {
       $message = new Message();