How to Send Emails with UTL_SMTP containing Unicode Characters in Mail Subject and Body

(Doc ID 553542.1)

Last updated on SEPTEMBER 14, 2017

Applies to:

PL/SQL - Version 9.2.0.8 and later
Information in this document applies to any platform.
***Checked for relevance on 02-Jun-2015***


Goal

This note describes howto send emails containing UNICODE characters using UTL_SMTP package in mail subject and mail body from within Unicode (Example #1) oder Non-Unicode (Example #2) databases.

The sample code contains a PLSQL example which determines automatically if connected to Unicode or Non-Unicode databases and send email with arabic digits in mail subject and mail body.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms