Skip to main content

encode_data

Function encode_data 

Source
pub fn encode_data(content: &[u8], out: &mut Vec<u8>) -> usize
Expand description

Normalize LF, CRLF and bare CR, dot-stuff each line, append the SMTP DATA terminator. Returns SIZE octets (normalized content, excluding transparency).