My Oracle Support Banner

How to Send Emails with UTL_SMTP containing Unicode Characters in Mail Subject and Body (Doc ID 553542.1)

Last updated on NOVEMBER 02, 2023

Applies to:

PL/SQL - Version 9.2.0.8 and later
Information in this document applies to any platform.

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.