[Rt-devel] &RT::Interface::Web::MakeMIMEEntity()
Levon Ghazaryan
levon at mail.desy.de
Fri Feb 25 13:20:01 EST 2005
Hi Jeff,
> I'm not sure if it's the preferred method or not, but I was able to just use
> the MIME::Tools module to create my MIME entity in a scrip:
exactly what I've swetched to now:)
off course it's not as importand to use the
RT::Interface::Web::MakeMIMEEntity instead but i was just
wondering why this shouldn't work. i've to admit that perl & mod_perl is
not the programing environment of my daily use, so maybe i'm
just missing something _very_ importand with Web.pm :D
thax a lot for the response!
Cheers,
~levon
On Fri, 25 Feb 2005, Jeff Albert wrote:
> Hi Levon,
> I'm not sure if it's the preferred method or not, but I was able to just use
> the MIME::Tools module to create my MIME entity in a scrip:
>
> use MIME::Entity;
>
> my $entity = MIME::Entity->build(
> Subject => "subject"
> From => 'value',
> Cc => 'value',
> Data => 'value',
> );
>
> Is this sufficient for what you want to do? If not, sorry for muddying the
> waters.
>
> Cheers,
> Jeff Albert
> Departmental Computing Support Team
> University of Victoria
> jralbert at uvic.ca
>
> -----Original Message-----
> From: rt-devel-bounces at lists.bestpractical.com
> [mailto:rt-devel-bounces at lists.bestpractical.com] On Behalf Of Levon
> Ghazaryan
> Sent: Friday, February 25, 2005 8:35 AM
> To: rt-devel at lists.bestpractical.com
> Subject: [Rt-devel] &RT::Interface::Web::MakeMIMEEntity()
>
> Hi list,
> could someone explain what's special with the
> RT::Interface::Web that causes some code like the
> folowwing one to end up with:
>
> Undefined subroutine &RT::Interface::Web::MakeMIMEEntity called at
> /usr/local/share/request-tracker3/lib/RT/Foo/Bar.pm
>
> package RT::Foo::Bar;
> use strict;
>
> sub Baz {
> my $self = shift;
>
> use RT::Interface::Web;
>
> my $MIMEObj = &RT::Interface::Web::MakeMIMEEntity(
> Subject => 'value',
> From => 'value',
> Cc => 'value',
> Body => 'value',
> );
> }
>
> 1;
>
> best regards
>
> levon ghazaryan
> ------------------
> levon at mail.desy.de
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
>
>
More information about the Rt-devel
mailing list