[rt-users] Extract Attachment as Mime

Anthony Brodard anthony at brodard.me
Wed Apr 3 04:50:12 EDT 2013


Hi Kevin,

Thanks for this reply.
Effectively, with this mistake, the scrip will not be right... I did lot of
test, maybe the fatigue...
SO, I will follow your advises and get the list informed.

Regards,
Anthony

2013/4/2 Kevin Falcone <falcone at bestpractical.com>

> On Tue, Apr 02, 2013 at 03:19:36PM +0200, Anthony Brodard wrote:
>
> At the very least, you'll note that these two variables aren't the
> same ($content vs $Content).  However, it's more complicated than that
> since you have the declaration buried so deep in scope that the later
> code can't even see it.
>
> At the very least, you'll need to forward declared $Content early, set
> it, and then check it before Creating.
>
> >      my $content = $attachment->ContentAsMIME;
> >      MIMEObj => $Content,
>
> I've not ready any of the other code closely, the syntax error just
> jumped out.
>
> -kevin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130403/9b9f2761/attachment.htm>


More information about the rt-users mailing list