ORA-29261: Bad Argument In APEX_MAIL.SEND Function
(Doc ID 1583393.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Application Express (formerly HTML DB) - Version 4.2.0.00.27 and later
Information in this document applies to any platform.
On : 4.2.0.00.27 version, Administration
When attempting to sent an email from any apex application, the following errors occur:
ORA-29261: bad argument
and after several similar errors in the apex mail queue the follow error is also seen
ORA-30678: too many open connections
The issue can be reproduced at will with the following steps:
1. Send email using inside apex (sql*workshop or application) code like
l_id := APEX_MAIL.SEND(
p_to => l_to ,
p_from => 'firstname.lastname@example.org',
p_subj => 'Test Appointment Notice',
p_body => 'You have a new appointment:');
2. The email is not sent but showed in the email queue with error
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