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 <falc...@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 >