Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Email attachment being truncated.

by Neighbour (Friar)
on Sep 12, 2012 at 13:08 UTC ( #993221=note: print w/replies, xml ) Need Help??

in reply to Email attachment being truncated.

Make sure the filehandle (if generated from another place in the same script, or another script) is closed before you're trying to send it. Otherwise you'll be missing whatever's left in the file-io-buffer.

Replies are listed 'Best First'.
Re^2: Email attachment being truncated.
by Anonymous Monk on Jun 21, 2016 at 18:16 UTC
    I faced the same issue and closing the filehandle, just before sending mail, worked. Thanks!
Re^2: Email attachment being truncated.
by Anonymous Monk on Aug 28, 2014 at 18:57 UTC
    Thank you! That works!!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993221]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2016-10-24 07:02 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.