Index: branches/unlabeled/unlabeled-1.61.2/core/kernel/processors/main_processor.php =================================================================== diff -u -r5900 -r5903 --- branches/unlabeled/unlabeled-1.61.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 5900) +++ branches/unlabeled/unlabeled-1.61.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 5903) @@ -896,6 +896,15 @@ $root_phrase = $this->Application->ConfigValue('Root_Name'); return $this->Application->Phrase($root_phrase); } + + function AttachFile($params) + { + $email_object =& $this->Application->recallObject('kEmailMessage'); + $path = FULL_PATH.'/'.$params['path']; + if (file_exists($path)) { + $email_object->attachFile($path); + } + } }