[Rt-devel] Send Template with external scrip

Iban Cardona i Subiela icardona at serialnet.net
Tue Jan 18 10:00:37 EST 2011


Hello,

I have an external scrip with this code:

my $template = RT::Template->new($RT::SystemUser);
$template->LoadGlobalTemplate('blablabla');

my $MIMEObj = $template->MIMEObj;
$MIMEObj->head->set('To', $emailTelefonica);

But I view this error "Can't call method "head" on an undefined value"

Could you help me?

Thank you so much!
-- 
Serialnet SL

*  IBAN CARDONA I SUBIELA*
  SERIALNET NETWORKING I SOFTWARE LLIURE SL
  c/Bailèn, 71Bis 5è 3a
  08009 - Barcelona
  Tel. 93 265 09 37
  http://www.serialnet.cat
  LINKEDIN:http://www.linkedin.com/in/icsbcn
<http://www.linkedin.com/in/icsbcn>

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20110118/8c0f0648/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signatura.gif
Type: image/gif
Size: 4306 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20110118/8c0f0648/attachment.gif>


More information about the rt-devel mailing list