Problem with APEX 4.1 Email values
HelloI thought it would be a simple, but do not know if the syntax is correct. Basically, I need to pick up the email to a text field and send this e-mail to the MAIL of the APEX. Send the procedure. Now when I enter the real email in the APEX_MAIL.send, for example
previous code...
() apex_mail. Send
p_to = > '[email protected]', - change to your email address
P_FROM = > '[email protected]', - change of an actual e-mail address shippers
p_body = > l_body,
p_body_html = > l_body_html,
p_subj = > 'APEX_MAIL Package - HTML format message');
END;
works very well.
But when I try something like
() apex_mail. Send
p_to = >: P1_EMAIL_ADD,-change to your email address
P_FROM = > '[email protected]', - change of an actual e-mail address shippers
p_body = > l_body,
p_body_html = > l_body_html,
p_subj = > 'APEX_MAIL Package - HTML format message');
END;
I tried, V ('P1_EMAIL_ADD') also in the call to ampex_mail.send.
Can you advice?
Thank you
Sun
sun1977 wrote:
HelloI'm in 4.1 and 11 g. The browser is IE 7, Win XP, 21, default template theme.
: P1_EMAIL_ADD is a text field with the default (an email address). The error I get is an alert, "Ajax call returned the error Server 20001: you must provide a message recipient to send an email." "to execute the PL/SQL code.
Thus, it is called by a dynamic Action "run the Code from PL/SQL?
He then worked. Yes as you say looks like to the: P1_EMAIL_ADD does not by default it shows up when the user interface and is zero, although only in the user interface, I can see the value of the field. Any idea how is it possible?
Use the setting of the Page items to send in the "run the Code in PL/SQL" action to validate the P1_EMAIL_ADD value both her DA is run.
Tags: Database
Similar Questions
-
Problem with the format of the values in the command prompt (when you use multiple values)
Hi all
I have problem with the format of the values in the command prompt when you use multiple values.
Value is year (2009) and when I use it in the drop-down list that is formatted, all right, as 2009, but when I use several values I get number as 2009,00. I put in year column format number with 0 decimal places and save by default in the year column. Year is formatted well anywhere in the query, such as 2009. Why is - what happens at the command prompt when you choose multiple values in prompt dashboard?
Thank youI think the YEAR Data Type could be defined DOUBLE RPD.
Use the CAST function in the formula (fx) and the output from test.
CAST (INT YEAR)
Hope, it will help you.
-
upgrade to 12 c causing problems with APEX 4.2.5
Hey everyone, our dba updated our database this past weekend at 12 c. Today, we have problems with one of our more complex pages. Here's our software configuration where after upgrade:
APEX: Application Express 4.2.5.00.08
Database: Oracle Database Enterprise Edition Release 12.1.0.2.0 - 64 bit Production 12 c
The page in question has dynamic actions which fire when a user clicks a button. The action has 3 processes related to it. The first is javascript that runs that changes some css classes. That seems to work. The second is supposed to be executing pl/sql code (with a dynamic process page element). This does not appear be to fire. I watched with firebug and chrome dev tools, but it seems that no ajax call is sent when I click on the button.
The page seems to generate exceptions in the scenes. I see the following in newspapers several times on the page.
ORA-20987: APEX - ORA-00001: unique constraint (APEX_040200.WWV_FLOW_COLLECTIONS_UK) violated
Unfortunately, I can't determine if what is happening on the loading of the page or under dynamic actions. Apparently not loading the linked page cause I can't recreate it all by refreshing the page. But I don't see how it could be created by the dynamic action since they don't seem to be calling the server either. (no ajax call I see)
Does anyone know of none known between 4.2.5 and 12 c? Everything worked well Fri/Sat, so the upgrade must be the cause.
Thank you!
It looks like given the scope of the implemented dynamic actions in dynamic instead of static electricity was the problem. Their transition to static seems to have fixed everything. Not sure if it "just worked" under the previous version and 12 c was somehow more special or if the parameter got reversed somehow in the process, but it was certainly before.
Well. I'll consider it fixed!
-
Problem with apex.navigation.popup.url and the symbol + (more)
Hello
I use Apex 4.2.6.00.03 in an Oracle DataBase 11g.I want to show in a popup over information about a line in a report, to do this, I use apex.navigation.popup.url JavaScript function to open an apex page and set a variable in this page with the ROWID of the register, the url is
JavaScript:apex.navigation.Popup.URL ('f? p = & APP_ID.:59: & SESSION.: P59_ROWID: #ROWID #');
It works fine, but when the ROWID contains a symbol '+', it is replaced with a space when the value is set to the article and the code that uses this value returns an error.
Oracle Docs the ROWID can have letters, numbers and symbols '+' and ' / ', I tested it with "/" and it works fine.
I could use the replace to replace the space with a '+', but I want to know if this can be corrected in the URL, and what other symbols he affects.
Thank you
Diego (SniperCat) wrote:
I use Apex 4.2.6.00.03 in an Oracle DataBase 11g.
I want to show in a popup over information about a line in a report, to do this, I use apex.navigation.popup.url JavaScript function to open an apex page and set a variable in this page with the ROWID of the register, the url is
JavaScript:apex.navigation.Popup.URL ('f? p = & APP_ID.: 59: & session.: P59_ROWID: #ROWID #');
It works fine, but when the ROWID contains a symbol '+', it is replaced with a space when the value is set to the article and the code that uses this value returns an error.
Oracle Docs the ROWID can have letters, numbers and symbols '+' and ' / ', I tested it with "/" and it works fine.
I could use the replace to replace the space with a '+', but I want to know if this can be corrected in the URL, and what other symbols he affects.
That's why I only spend the alphanumeric key values as URL parameters. It could affect all the reserved characters in the URL.
Add a hidden column of ROWID_URL to the report query, that JavaScript and URL does not escape the ROWID value:
select ... , apex_escape.js_literal(apex_util.url_encode(rowid), null) rowid_url , ... from ...
and use this column in the column link URL:
javascript:apex.navigation.popup.url('f?p=&APP_ID.:59:&SESSION.::::P59_ROWID:#ROWID_URL#');
-
Problem with previews browser and email clients vs DW
Hey everybody. I'm having a problem with DW. I wanted to see if I could get quick help. I'm having a problem with the design of DW in good research and large on my screen in DW, but when I go to preview in a browser or to download from an email client, it has a spacing problems. See reference photos. The first is in DW, the 2nd is in Chrome. All browsers and the MailChimp.com alike.
Can I get help in what I'm doing wrong?
You add display: block; to your images:
-
GTT - Global temporary Table - problem with Apex
Hello
I'm having a problem using TWG with Apex. The data generated by a session can be selected by another user in another session. How can this happen?
Thank you
Márcio GoncalezSounds like the connection pooling. You might want to try to change your TWG flush on the end of session to flush the commit.
-
I have installed oracle 10g and oracle application server 10g (http server)
and I install apex and I use the guide as appendxed with apex intallation for intallation
After you run the scripts
I edited the file dads with the following information
Alias is "g:/apex/images / '.
AddType text/xml xbl
AddType text/x-component htc
< apex/pls/location >
Order deny, allow
Docs PlsqlDocumentPath
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_downloadd
Apex of nasser: 7777:service_name PlsqlDatabaseConnectString
PlsqlNLSLanguage AMERICAN_AMERICA. AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
Apex PlsqlDefaultPage
PlsqlDatabasePassword pub
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow all the
< / location >
After that, I ask the url http://nasser:7777/pls/apex
but I got "Internal Server Error"
What is the problem
If there is an error in the file of dads
Help me please
Published by: user3683976 on February 9, 2009 15:19If I understand correctly, you are using the Windows environment, right? So, your alias images should not be 'g:\apex\images/ '?
Hope this helps.
-------------------------
Alias is-"g:/apex/images /"-"g:\apex\images/".
AddType text/xml xbl
AddType text/x-component htc
Order deny, allow
Docs PlsqlDocumentPath
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download - d-
Apex of nasser: 7777:service_name PlsqlDatabaseConnectString
PlsqlNLSLanguage AMERICAN_AMERICA. AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
Apex PlsqlDefaultPage
PlsqlDatabasePassword pub
PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
Allow all the
-
Problem with apex.confirm
I use Express application 4.1.0.00.32
I have a region defined by this source:
SELECT 'Remove' delrow.
a.ID,
Description a.desc_ob_strat,
a.fl_attivita_ordinarie,
a.set_linee,
a.Linea,
a.Priorita,
a.data_dal,
a.data_al,
Link_dettaglio NULL,
a.ROWID r_id
OF pdp_ob_strat one
In the report of the attributes in the links column 'DELROW' properties, I have:
'Target': URL
'URL ':
JavaScript:apex.confirm ("are you sure you want to delete this record?', {request: 'DEL_OBSTRAT', value: {'P225_ROWID_OBSTRAT': #R_ID #}}");
In other words, I want that when the user clicks on "Delete" string in a line, it is requested, and if he wants, a shipment is started, the application name would be "DEL_OBSTRAT" and the point P225_ROWID_OBSTRAT would be set with the value of r_id.
On the Page, I have a conditional process, "on submit and before calculation", it is conditional based on the name of the application, and here I have:
DELETE pdp_ob_strat
WHERE ROWID =: P225_ROWID_OBSTRAT;
My problem is that when I click on the word "Delete" nothing happens. I do not see an alert box, I see no page sent.
I tried a few test change "with" but without success.
Any help? Thank you very much.
Hi Francois,.
Francesco wrote:
TO
https://Apex.Oracle.com/pls/apex/
I created the account and ask for following:
Workspace: TESTTRACCIA
Username: [email protected]
Password: matera2019
Application 69273 - Fcoretti 1
In Page 2, I created a situation like mine, and when I try to delete a line, the confirmation box appears, then an error message is displayed.
Thank you.
I checked your application, you have missed the rowid in a statement select it is therefore passing invalid rowid for the erase process.
now added rowid in your State sql query, delete works now, please take a look.
Kind regards
Jitendra
-
Problem with query select when the value is "I" or "II".
Hello
APEX 4.0.2
I have a select as below,
Select CLASS_TITLE
of VW_TITLE
where instr (upper ("CLASS_TITLE"), upper (nvl (DECODE (: P80_CLASS_TITLE, 'ALL', NULL,: P80_CLASS_TITLE), "CLASS_TITLE"))) > 0
P80_CLASS_TITLE is defined as LOV. When I select "administrative specialist I" in the list, it returns the following.
E specialist I
Administrative Specialist II
But if I select 'Administrative Specialist II', it returns only Administrative Specialist II.
I only have this problem when there is an 'I' or 'II' in the CLASS_TITLE; Otherwise, it returns the correct values.
Thanks a lot for your help.
MTthe mt user says:
Sorry if I you confused. That's what I want the select statement to make. If I select a class title in the list of values, I want to display the title of the selected class. If I do nothing select in the list of values, then display all class titles in the table which is the default value.I assumed that "ALL" is the default value from the LOV. If the above does not work it appears that it must be null. So much more SQL 101:
select t.class_title from vw_title t where t.class_title = :p80_class_title or coalesce(:p80_class_title, 'ALL') = 'ALL'
I'm guessing that you came with all the stuff INSTR/DECODE...
You would probably enjoy taking up the + 2 day Developer Guide + brush on basic SQL.
-
I signed to & & checked my email address but still get the emails sent to [email protected] not to [email protected] that has been verified in my profile.
Hi andy,.
Fix. After the cancellation of a subscription, signing up with the correct e-mail will solve the problem. -
Error message is presented to each start upward:
This Mac cant connect to iCould due to a problem (my email address)
Go to System Preferences to fix this problem boxes and offer now or LATER
I've seen this question discussed in 2014 and 2013 with other versions OX and I tried the advice offered in the discussions, but no fix my problem. To be honest, there seems to be no definitive solution to this earlier era and users reported that the error continued or returned.
My own system with El Capitan 10.11.2 is up to date and all information appears correctly when I look at about this Mac (I saw a patch on uTube to fix missing serial number), this isn't the problem I have.
By clicking on the box now offered as gifts to mistake getting me to System Prefs. I see nothing wrong. I have just to enter my normal password and continue during the day.
My work of iPad and iPhone without this hitch.
Nothing has changed for me or my game to the top.
My apple ID use a gmail address.
Addresses email on my system are verified. None have been changed, and all have been present on the mac without problem for more than three years.
I tried to uncheck boxes and Reselection of them...
There is an option of the discussed here earlier hotfixes that are users running OSX Yosemite and Mavericks, and that I have not tried is to remove the iCloud account. If I do this or even sign out I'm warned that to do so, will remove all documents stored in iCloud this Mac... it feels drastic and I'm afraid of what I might lose and kind of done use iCloud as a storage solution (that I pay for) useless.
Anyone know why this is happening and a step by step solution that will work without me having to take stupid with my data risks please?
Thank you.
Have you tried talking to your national security people Apple?
Contact Apple for assistance with the security of the Apple ID - Apple Support accounts
-
How can overcome the problem with ' Apex 4.2
Hi team,
I created as a result of things in our application, as mentioned below
1 created a "Key Source" text element
2 concept own popup LOV created for this item as
Under the Post element
3 defined as java script code
function callMySrckey () { var url; url = 'f?p=&APP_ID.:3:&APP_SESSION.::::'; w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600"); if (w.opener == null) w.opener = self; w.focus(); }
4. he wants to say when they click on the img icon it will redirect to the #3 page.
5. now on the page #3, I had created an interactive report by the query in the form
select distinct sourcekey SrcKey from t_src_key order by 1;
6. in the report to column link attributes
Under the text link I had selected
#SRCKEY #.Selected as a URL target
javascript:passBackSkey('#SRCKEY#');
7. under Java script defined as
<script language="JavaScript1.1" type="text/javascript"> function passBackSkey(passKey) { opener.document.getElementById("P34_SRC_KEY").value = passKey; close(); } </script>
8. now, on page 3, we see data as shown below
Consumer-city gate of energy | Gate of the city of energy to consumers
WALC Mead
CÔTE D'IVOIRE
9. when I click on these data, it will be passback and store in key source point i., text element e p34_src_key.
10. given above if we look at we see "appearing in"Ivory COAST", in this case passback does not work do not display this value in text."
Could someone help me how to solve this problem when we have a ' data.
Kind regards
Sruthitamiri
Sruthi Tamiri wrote:
fac586,
Please find the #2 approach, could you please let me know if I'm missing something here.
URl #https://apex.oracle.com/pls/apex/f?p=51537:1:121524763711746:
#cts_demo workspace
user name # [email protected]
password # tamiriseshu
For example if we have data in the emp table
In the main screen see us data that is to show that \u002FA and other.
When I click on page #2 values are not pass on screen #1.
Use two columns in the report:
select ename, apex_escape.js_literal(ename) js from (select distinct ename ename from emp) order by ename
View ENAME, then assign the column hidden JS. Use #JS # in the target URL.
-
Problem with Apex 5.0 report with a query that runs in SQL Developer
Hello
I have a query that runs in SQL Developer without problem, but when I use it in a classic report, it displays following:
error report:
ORA-06502: PL/SQL: digital or value error: character of number conversion error
The query is:
select T1.ID_ATTACHMENT, T1.BLOB_CONTENT, T2.ATTACH_CATEGORY, T1.FILENAME, T1.ATTACHMENT_DESCRIPTION from ATTACHMENTS T1 LEFT JOIN REF_ATTACH_CATEGORIES T2 ON T1.ATTACHMENT_CATEGORY = T2.ID_ATTACH_CATEGORY WHERE T1.ID_ATTACHMENT IN (SELECT ID_ATTACHMENT FROM REL_ATTACHMENTS WHERE REL_PART_ID = 1 AND REL_ID = 64146);
And the output of SQL Developer is:
I have following Setup for the BLOB_CONTENT column in the classic report:
Any ideas what is causing this problem?
Thanks in advance,
Sergio
I don't have notes with me, but I think that the content of the blob must be selected as:
DBMS_LOB. GetLength (blob_content) as blob_content
and check that you have included the primary key in the results.
-
Problem with comma when you pass values in the URL
Hello
I have two pages, the first page to the second page, I'm passing some values using the url parameter passing
but certain values contains comma ex:-P1_NATION field contains INDIA, United States, United Kingdom
but the apex treated that as these are distinct values and assign it to separate elements
Suppose that my intention is like P2_NATION, P2_EMPLOYEE, P2_EMPID: USA, UK, INDIA, SAGAR, 123
but the apex dealing with like P2_NATION = INDIA: P2_EMPLOYEE = USA: P2_EMPID = UK
is there any solution for this
Please help me about this
I use apex4.1, db 11g, ie, chrome, ff
Thank you
SAGARSAG says:
I have two pages, the first page to the second page, I'm passing some values using the url parameter passing
but certain values contains comma ex:-P1_NATION field contains INDIA, United States, United Kingdom
but the apex treated that as these are distinct values and assign it to separate elements
Suppose that my intention is like P2_NATION, P2_EMPLOYEE, P2_EMPID: USA, UK, INDIA, SAGAR, 123
but the apex dealing with like P2_NATION = INDIA: P2_EMPLOYEE = USA: P2_EMPID = UK
is there any solution for this
The best practice is not to transfer the data in the URL, other than the minimum possible number of discrete ID. Values required in a target page can be recovered in the element source and properties by default, calculations or using these values of process ID, or by referencing the other page element values or application already in session state. Collections can be used to store multiple values in session state to use through one or more pages.
In URL of the APEX, commas in the item values can be escaped by encapsulating values of the backslashes ('-'), while the settlers may not appear at all.
P2_NATION,P2_EMPLOYEE,P2_EMPID :\INDIA,USA,UK\,SAGAR ,123
Also, do not use unescaped reserved characters in the URI.
-
UTF - 8, problems with form to send emails with strange letters
Hello!
How can I tell my contact form to accept the Danish letters æ, o, a?
I Googled, and found a page where they said to put it in my head:
< meta http-equiv = "content-type" content = text/html"; Charset = UTF-8 "/ >"
But I already have it. And when I get emails from my form, the letters look weird.
I have a formmail.php that looks like this:
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
"< html xmlns ="http://www.w3.org/1999/xhtml">".
< head >< meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
< META HTTP-EQUIV = "refresh" content = "0; URL = thankyou.html">
< title > < /title > E-mail form
< / head >< body >
<? PHP
$name = addslashes($_POST['name']);
$email = addslashes($_POST['email']);
$comments = addslashes($_POST['message']);You can specify which email you want your contact form to be emailed here
$toemail = "[email protected]";
$subject = "message from mywebsite.dk";$headers = "MIME-Version: 1.0\n.
." From: \"".$name. » \ » < ". $email. "" > \n ".
." Content-type: text/html; charset = iso-8859-1\n ";$body = "name:". " $name. "" < br / > \n ".
." E-mail: '. '. $email. "" < br / > \n ".
." "Comments: < br > \n".
. $comments;If (! ereg ("^ [a-zA-Z0-9_] + @[a-zA-Z0 - 9-] + \.")) [a-zA-Z0 - 9-------.] + $"(, $email))"
{
echo "is not a valid email address. "Please return to the.
. "previous page and try again. ';
"exit";
}mail ($toemail, $subject, $body, $headers);
echo "thank you for your comments";
? >
< / body >
< / html >and my form looks like this (also with the charset = utf-8 in the header):
< form id = "form1" name = "form1" method = "post" action = "formmail.php" style ="padding-top: 20px; ">
< span id = "nameTextField" >
< label for 'name' = > name < / label > < br / >< input name = "name" type = "text" id = "name" tabindex = "10" size = "30" / >
< span class = "textfieldRequiredMsg" > a value is required. </span > < / span >
< p > < span id = "emailTextField" >
< label for 'email' = > Email < / label > < br / >< input name = "email" type = "text" id = "email" tabindex = "20" size = "30" / >
< span class = "textfieldRequiredMsg" > a value is required. </span > < span class = "textfieldInvalidFormatMsg" > Invalid format. </span > < / span > < / p >
< p > < span id = "messageTextArea" >
< label for 'message' = > Message < / label > < br / >< = cols 'message' textarea name = "85" lines = '8' id = 'message' style = "" do-family: Verdana, Geneva, without serif; "tabindex ="30"> < / textarea >"
< span id = "countmessageTextArea" > < / span > < span class = "textareaRequiredMsg" > a value is required. </span > < span class = "textareaMinCharsMsg" > Minimum number of characters not met. </span > < span class = "textareaMaxCharsMsg" > has exceeded the maximum number of < br / >
Characters. </span > < / span > < / p >
< label = "submit" > < / label >
< input type = "submit" name = "submit" id = "submit" value = "Submit" tabindex = "40" / >
< / make >The set of characters in your email headers is set to iso-8859-1 (Western Europe). Change this to utf - 8.
$headers = "MIME-Version: 1.0\n.
." From: \"".$name. » \" <".$email.">\n"
." Content-type: text/html; charset = iso-8859-1\n ";
Nancy O.
".$email.">
Maybe you are looking for
-
Is it possible to have the glass Apple Watch repaired?
MY watch fell on my knees on the floor, face down and broken glass. Can it be fixed or is it just did?
-
The driver Conexant Audio Edge 13 in Windows 7 error
Hello... I have the error message when you try to install the Conexant Audio driver in Windows 7. The error message goes like this: "Driver Installation Failed: could not find the device of MEDIA for this driver." I was a little confused because I do
-
I lost my picture photo gallary
My photo I lost the photo gallary, and I found them in the Media Center how to make their return to the Gallery thanks
-
HP Mini 110 - question wireless WPA2-Enterprise
Recently bought a HP Mini 110- 3098NR with the Atheros wireless card. It is currently running Windows 7 Starter edition, and whenever I try to connect to our wireless WPA2-Enterprise it does not connect. My HP 6930p connects fine to the same SSID wit
-
updated reference dell dimension and have no sound what to do to restore the sound?
I have no noise ran restore disc have everything clean and now I have no audio / suggestions?It is a dell dimension 4700 with windows xp home edition installed.