in reply to Re^8: Using Net::SMTP to send pdf attachment
in thread Using Net::SMTP to send pdf attachment
The max encoded line length is 76. 3 bytes = 4 chars so 57 bytes = one full line. Any multiple of 3 avoids adding filler characters '=' to make up the encoded 4 characters and multiples of 57 give minimal line endings. 4095 also worked but 4104 is just the nearest multiple of 57 to 4096. See EXAMPLES in MIME::Base64
poj
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^10: Using Net::SMTP to send pdf attachment
by Anonymous Monk on Mar 18, 2018 at 05:49 UTC |
In Section
Seekers of Perl Wisdom