[rt-users] Extract Attachment as Mime

Kevin Falcone falcone at bestpractical.com
Tue Apr 2 15:55:45 EDT 2013

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130402/e3153661/attachment.sig>

More information about the rt-users mailing list