1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| utl_smtp.write_data
(connex,
'From: '||msg_from|| utl_tcp.crlf||tomail||utl_tcp.crlf||
'Subject: ' || msg_subject ||utl_tcp.crlf||
'Mime-Version: 1.0' || utl_tcp.crlf||
'Content-Type: multipart/mixed; '||
'boundary="0099AAZZAA9900"' || utl_tcp.crlf || '' || utl_tcp.crlf ||
'This is a Mime message,blabla---' || utl_tcp.crlf ||
'understand. Parts of the message----' || utl_tcp.crlf ||
'appears as random charact--' || utl_tcp.crlf ||
'attachments, then you--' || utl_tcp.crlf ||
'manually----' || utl_tcp.crlf ||'' || utl_tcp.crlf||
'--0099AAZZAA9900' || utl_tcp.crlf||
'Content-Type: text/plain; charset="window-1256"; name="' || fichier1 || '"' || utl_tcp.crlf||
'Content-Disposition: attachment; filename="' || fichier1 || '"' || utl_tcp.crlf||
'Content-Transfer-Encoding: quoted-printable' || utl_tcp.crlf|| utl_tcp.crlf||
'--0099AAZZAA9900--' || utl_tcp.crlf
); |
Partager