Last updated on JULY 05, 2017
Applies to:PL/SQL - Version 10.1.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 09-Nov-2012***
If the size of the attachment using UTL_MAIL.SEND_ATTACH_RAW exceeding 32767 Bytes it gives the following errors:
ORA-06525: Length Mismatch for CHAR or RAW data
ORA-06512: at "SYS.UTL_FILE", line 119
ORA-06512: at "SYS.UTL_FILE", line 1100
ORA-06512: at "PACKAGE.PROCEDURE", line 15
ORA-06512: at line 1
When using UTL_MAIL.SEND_ATTACH_RAW with attaching a file which is less than 32767 bytes, it sends the mail successfully.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms