[rt-devel] An oversite in Interface/Email.pm

Jason Edgecombe jedgecombe at carolina.rr.com
Fri Apr 5 11:39:16 EST 2002


Hi,

   I found an problem in Interface/Email.pm when I was modifying 
enhanced mailgate. I have attached a diff of the modifications.

In the function MailError, it assumes MIMIEOBJ is defined. I added a 
simple "if" test to only run $MIMEOBJ->sync_headers if $MIMEOBJ is defined.

Jason Edgecombe
-------------- next part --------------
313,314c313,317
<     $mimeobj->sync_headers();
<     $entity->add_part($mimeobj);
---
> 
>     if ($mimeobj) {
>       $mimeobj->sync_headers();
>       $entity->add_part($mimeobj);
>     }


More information about the Rt-devel mailing list