class Mail::Encodings::EightBit
Constants
- NAME
- PRIORITY
Public Class Methods
compatible_input?(str)
click to toggle source
Per RFC 2821 4.5.3.1, SMTP
lines may not be longer than 1000 octets including the <CRLF>.
# File lib/mail/encodings/8bit.rb, line 13 def self.compatible_input?(str) !str.lines.find { |line| line.bytesize > 998 } end