Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993221]
help
Chatterbox?
[Discipulus]: good morning folks!

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2016-12-06 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.