When I try writing "=15" in an email attachment, it comes though as the character "NAK". In fact these two commands
UTL_SMTP.write_data (c, '15, =15, <= 15%, =14, =13, =11, 11, =1.5,="15"' || UTL_TCP.crlf);
UTL_SMTP.write_raw_data (c, UTL_RAW.cast_to_raw('15, =15, <= 15%, =14, =13, =11, 11, =1.5,="15"' || UTL_TCP.crlf));
both result in
15, , < %, , , , 11, =5,=5"
(Though this interface has stripped the characters out)
15, [NAK], <[NAK] %,[DC4] ,[DC3] ,[DC1] , 11, =5,=5"
99.9% of the file is OK, it's just some characters after the = symbol.
These are the preceding lines
l_email_content := '--' || l_boundary_mixed || UTL_TCP.crlf;
l_email_content := l_email_content || 'Content-Type: application/octet-stream; charset="utf-8"' || UTL_TCP.crlf;
l_email_content := l_email_content || 'Content-Disposition: attachment; ' || UTL_TCP.crlf;
l_email_content := l_email_content || ' filename="' || v_file || '"' || UTL_TCP.crlf;
l_email_content := l_email_content || 'Content-Transfer-Encoding: quoted-printable' || UTL_TCP.crlf;
l_email_content := l_email_content || UTL_TCP.crlf;
l_email_content := l_email_content || UTL_TCP.crlf;
UTL_SMTP.write_raw_data (c, UTL_RAW.cast_to_raw(l_email_content));
Oracle 12c