class Mail::Encodings::EightBit

Direct Known Subclasses

Defined in:

mail/encodings/8bit.cr

Constant Summary

NAME = "8bit"
PRIORITY = 4

Class Method Summary

Class methods inherited from class Mail::Encodings::Identity

cost(str) cost, decode(str) decode, encode(str) encode

Class methods inherited from class Mail::Encodings::TransferEncoding

can_encode?(enc) can_encode?, can_transport?(enc) can_transport?, compatible_input?(str) compatible_input?, cost(str) cost, lowest_cost(str, encodings) lowest_cost, negotiate(message_encoding, source_encoding, str, allowed_encodings = nil) negotiate, renegotiate(message_encoding, source_encoding, str, allowed_encodings = nil) renegotiate, to_s to_s

Class Method Detail

def self.compatible_input?(str) #

Per RFC 2821 4.5.3.1, SMTP lines may not be longer than 1000 octets including the .


[View source]