Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^9: Using Net::SMTP to send pdf attachment

by poj (Abbot)
on Mar 17, 2018 at 15:55 UTC ( #1211145=note: print w/replies, xml ) Need Help??


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
  • Comment on Re^9: Using Net::SMTP to send pdf attachment

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

    Many thanks for your explanation :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2020-11-27 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?