PL/SQL email config [message #628064] |
Wed, 19 November 2014 12:35 |
|
slemma
Messages: 3 Registered: November 2014
|
Junior Member |
|
|
I was trying to config email but when i try to execute the source code i get the error below. I am using APEX.
declare v_forum_text varchar2(4000) := null;
v_email varchar2(128) := null;
v_sent_id number := NULL;
BEGIN
select count(*) into v_sent_id from users where user_id = :P3_USERS and email is not null;
select forum_text into v_forum_text from email_forum_templates where forum_text = :P3_FORUM_TEXT;
select email into v_email from users where user_id = :P3_USERS;
apex_mail.send(
p_from => 'Project@yahoo.com',
p_to => v_email,
p_subj => 'Victims Survey',
p_body => 'Hello,' || v_forum_text || ' ',
p_body_html => 'Hello,' || v_forum_text || ' ');
END;
error
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
[Updated on: Wed, 19 November 2014 12:37] Report message to a moderator
|
|
|
|
|
|
|
|
|