in my transactional email page i've used this
{{block type='sales/dispatch' area='frontend' template='email/order/dispatch.phtml' order=$order shipment=$shipment}}
my block is under sales module which is like this
class Mypackage_Sales_Block_Dispatch extends Mage_Core_Block_Template { public function checkinout(){ return 'testingg......'; } }
and my dispatch.phtml file looks like this
echo $this->checkinout();
but in the email i'm not getting this block printed, what am i doing wrong? thanks for the help