ostream-dot.h revision 83773f7eb5e12e68f5efee7278bdab35d2ee84c0
836e690c0e2d7494b8c0a6f4984dd13248841f2fStephan Bosch/* Create output stream for writing SMTP DATA style message: Add additional "."
83773f7eb5e12e68f5efee7278bdab35d2ee84c0Timo Sirainen to lines that start with ".". Write a line that contains only "." upon
83773f7eb5e12e68f5efee7278bdab35d2ee84c0Timo Sirainen o_stream_flush(). (This is also called at close(), but it shouldn't be
83773f7eb5e12e68f5efee7278bdab35d2ee84c0Timo Sirainen relied on since it could fail due to output buffer being full.)
83773f7eb5e12e68f5efee7278bdab35d2ee84c0Timo Sirainen If output ends with CRLF, force_extra_crlf controls whether additional CRLF
83773f7eb5e12e68f5efee7278bdab35d2ee84c0Timo Sirainen is written before the "." line. This parameter should match
83773f7eb5e12e68f5efee7278bdab35d2ee84c0Timo Sirainen i_stream_create_dot()'s send_last_lf parameter (reversed). */