Accessing a user email address from the database

Hi,
I really need help with the following.
I am adding functionality where users can set reminders that will then be sent to them by email when the reminder is due. I am going to utilise dbms_job to do this. My problem is that I am using apex authentication and users for the rest of the application and I need to retrieve the email address from apex. I cannot use wwv_flow_users as the email will be sent from a job in the database therefore there will be no current logged in user / workspace / session.
There must be some way of accessing an internal apex table / view or something that can tell me what the email addresses of my users are without being signed into an apex session.
Please help, this is quite urgent.
Thank you in advance.
Lee

Hi,
Glad to see that you've found.
However would be very interesting to know how to retrieve user list without being in an Apex workspace.
i would do as follows:
When the first user of the day log into apex you could update a static table containig the email (taken select into from www_flow_user once a day).
Then via a trigger you could start your batch proc, that needs updated email.
Is not clean at all, but probably if your firm isn't too big this approach could work.
By the way if you find how to retrieve the email not using www_flow_user, would be very nice to know.
Message was edited by:
Marcello Nocito

Similar Messages

  • How can I copy an email address from the form results while online?

    Our form contains a field where the users submitted their email address.  But I am not able to mouse over this data in the "View Responses" tab, and copy the email address by selecting the email address and Ctrl C, and neither can I right-click this data field and copy it.
    Our organization just switched to Microsoft Office 365, and "mailto" links on web pages can no longer be clicked to launch a native desktop email client program.  So the users tasked with responding to forms submitted via Formscentral now have a much harder workflow.  They are compelled to download the data as a spreadsheet, just to be able to cut and paste an email address into their reply email.
    I suggest and request that the Flash-based "View Responses" tab be modified to allow email addresses to be selectable and able to be  copied to the "clip board".  This would allow users who can't execute a clickable mailto link to copy and paste the email address from Formscentral into a new email.  Many organizations like mine are moving away from native client-based email programs like Outlook to save money,  in favor of cloud based SAS web-based email like Office 365.
    Is there some other way to enable mailto links where no client email program is installed on the users PC?
    Thanks,
    -Dave Bartholomew

    While I am still looking for a better answer, I've discovered a way to cut and paste email addresses from the FormsCentral "View Responses" dashboard.  I wrote up the instructions to help our users and thought I'd share them in this forum as well.
    But it would be nice if there was a simpler solution...  Can anyone offer a better way?
    -Dave B
    ) Right-click on the email address
    ) Select “Filter by: …”  Doing this will change the view to show only entries that were sent from the selected email address.
    ) And it will display the Filter in the header of the form.
    ) Left-click on the email address displayed in the filtered results, in the header of the form.
    ) A new sub-form will appear, and the email address can be cut and pasted from this new sub-form.  Highlight the email address and hit “Ctrl C”, or right-click and select copy.
    ) Now you can paste the email address into a new email in Office 365. (Ctrl V) or right-click and select “Paste”
    ) Click the “Clear” button and then “OK” to exit the filtered view of the data.

  • How can I remove my email address from the lock screen?

    How do I remove my email address from the lock screen? My dad bought me a new laptop after mine was stolen from my house on New Year's Eve. I'm a little tighter on my security now and when I turn on my laptop the lock screen shows me my name and my email
    address. If my laptop gets stolen again, I don't want my email address to be displayed for someone to use or sell as I'm extremely picky about what I'm giving out my email for. If there isn't a way to hide my email address, I'm going to demand a "downgrade"
    from this Windows 8 s**t and back to the more user-friendly and less confusing Windows 7. (And for the record, I hate Windows 8. With a passion.)

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How can I delete unwanted/inaccurate email addresses from the iPhone cache?

    How can I delete old / unwanted / inaccurate email addresses from the "suggestions cache" that keep popping up the moment I type in the first letter in on a fresh email address box?
    This is driving me mad! The London Store Apple Genius can only suggest either deleting my email account and then recreating it or totally reseting the iPhone to the original factory settings and then resynching it to my MacBook Pro to get everything back into the iPhone. However, he's not sure that this cache is not stored on the MacBook Pro during synching somewhere so I may well end up where I started! Allan Sampson answered my last "Help" topic, so I'm hoping he can beat the Apple Store Genius again!
    Over to the Forum and Allan.

    Hi Kelvin and everyone with the same problem.
    This used to be me and the painful solution ( for PC users ) is:
    Buy a Mac!
    Everything "talks" to each other and it all interfaces fine with the business world.
    Once you've adjusted to the ( much better ) Mac "culture" it all becomes clear and the
    backup service and advice is second to none. Not only that, everything works!
    Hope this helps......

  • HT204053 how do i change my icloud email address from the one i already have input?

    how do i change my icloud email address from the one i already have input?

    Hi sparkie,
    You cannot change your iCloud email address. It is an @me.com address, and is associated specifically with that iCloud account. If you want a different @me address assigned, you have to delete the current iCloud account and set up a new one.
    Here is a link with all the support information for iCloud:
    http://www.apple.com/support/icloud/
    Hope this helps!
    Cheers,
    GB

  • Fetching Dynamic email address from the HTML content sent in the email body

    Hi All,
    I have a scenario where in i have to send an html content via an email body . while doing so , i need to fetch the email address from the html content and send a mail to the specified email adrress in the html content .
    How to fetch the email address from the html content.
    Regards
    Vinay P.

    Hi ,
    Dynamic configuration means ...do i need to come up with a mapping which contains the  To,From,Subject fields & all...so that when i click on the mail package in mail adapter ...this  "To" email id will be fetched dynamically
    Regards
    Vinay P

  • How do I delete old email addresses from the pop up list that comes up when I put a letter into the "To" box. These addresses are not in my address book.

    How do I delete old email addresses from the pop-up list that comes up when I put a letter into the "To" box? They are not in my Address Book.  Wrong addresses get in the way and I sometimes select the wrong one.

    Edit the list the comes up when you go to the Window menu and select "Previous Recipients".
    charlie

  • Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server

    Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server. The command works if you issue directly from the server exchange shell.
    I open the remote power shell to the exchange server 2013.
    Issue the following commands and getting the following error.
    $mailbox = Get-Mailbox -Identity testuser$mailbox.EmailAddresses -= "eum:50004;phone-context=telExt5digits.lync5.com"Then getting the following error:Method invocation failed because [System.Collections.ArrayList] doesn't contain a method named 'op_Subtraction'.
    At line:1 char:27
    + $mailbox.EmailAddresses -= <<<<  "eum:50004;phone-context=telExt5digits.lync5.com"
        + CategoryInfo          : InvalidOperation: (op_Subtraction:String) [], RuntimeException
        + FullyQualifiedErrorId : MethodNotFoundHelp!

    Now for an answer - your remote session doesn't have the same object you have on the server itself.  Notice it says this is an array list, not a ProxyAddressCollection.  If you need to work around this, you'll need to massage the addresses another
    way that the system will accept.  I'd try the following:
    $NewAddresses = $mailboxEmailAddresses | ? { $_ -notlike "eum:50004;phone-context=telExt5digits.lync5.com" }
    See what you get in the $NewAddresses variable when you do this.

  • How do you remove old email addresses from the invitee drop down menu in Calendar

    How do you remove old email addresses from the invitee drop down menu in Calendar

    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Caches/com.apple.iCal/Previous Recipients.plist
    Right-click or control-click the line and select 
    Services ▹ Reveal
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Desktop, leaving the window open. Relaunch the application and test. If there's no change, quit again and put the item you moved back where it was, overwriting the one that may have been created in its place. Otherwise, delete the item you moved.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • When I select an email address from the dropdown menu and hit return, Thunderbird then fills in a different email address. Yosemite upgrade?

    I just upgraded to OS X Yosemite and this new "feature" appeared. I often have several email addresses that contain the same set of characters. I just type the first few characters and then select the appropriate email address from the dropdown menu that appears. But if I hit return afterwards to enter another email address, the first address gets switched back automatically to the first one that appeared in the dropdown menu. The more characters I type, the more accurate it is, but it totally defeats the purpose of autofill if I have to type the entire email address! Anyone else having this problem? And can you guys please fix it? If you select something from the dropdown menu, it should stay selected.
    Thanks!

    This forum is filled with this same complaint. There is a bug reported on it. If and when they fix it is another question.
    Version 24.6 works if you want to go back to a working version.

  • Retrieve Users Email Address from Login

    Hi,
    I'm trying to get the users e-mail address from the login providers (EG. MS, Google, Facebook and Twitter) so that I can insert it into the database on the Mobile Services side. I have gone through various articles about getting their full name etc, but
    there is no mention of email address?
    I need it as I need a way to send emails back to the user. Is this possible and if so how?
    Thanks very much
    Regards,
    Mauro

    This is similar to the blog post Rafal points to but more aggregated. However you might not be able to receive the email as ip's might not provide that info. (Please mark this as aswereed if you find it usefull)
    exports.get = function(request, response) {
    var user = request.user;
    var identities = user.getIdentities();
    var url;
    var req = require('request');
    var provider;
    if (identities.google) {
    provider = "Google";
    var googleAccessToken = identities.google.accessToken;
    url = 'https://www.googleapis.com/oauth2/v1/userinfo?access_token=' + googleAccessToken;
    } else if (identities.facebook) {
    provider = "Facebook";
    var fbAccessToken = identities.facebook.accessToken;
    url = 'https://graph.facebook.com/me?access_token=' + fbAccessToken;
    } else if (identities.microsoft) {
    provider = "Microsoft";
    var liveAccessToken = identities.microsoft.accessToken;
    url = 'https://apis.live.net/v5.0/me/?method=GET&access_token=' + liveAccessToken;
    } else if (identities.twitter) {
    provider = "Twitter";
    var userId = user.userId;
    var twitterId = userId.substring(userId.indexOf(':') + 1);
    url = 'https://api.twitter.com/users/' + twitterId;
    req(url, function (err, resp, body) {
    if (err || resp.statusCode !== 200) {
    console.error('Error sending data to FB Graph API: ', err);
    request.respond(statusCodes.INTERNAL_SERVER_ERROR, body);
    } else {
    try {
    var userData = JSON.parse(body);
    if (identities.google) {
    user = {
    firstname: userData.given_name,
    lastname: userData.family_name,
    gender: userData.gender,
    username:userData.username,
    fullname:userData.name,
    picture:userData.picture
    } else if (identities.facebook) {
    user = {
    firstname: userData.first_name,
    lastname: userData.last_name,
    gender: userData.gender,
    username:userData.username,
    fullname:userData.name,
    picture:userData.picture
    } else if (identities.microsoft) {
    user = {
    firstname: userData.given_name,
    lastname: userData.family_name,
    gender: userData.gender,
    username:userData.username,
    fullname:userData.name,
    picture:userData.picture
    } else if (identities.twitter) {
    user = {
    firstname: userData.given_name,
    lastname: userData.family_name,
    gender: userData.gender,
    username:userData.username,
    fullname:userData.name,
    picture:userData.picture
    else{
    request.respond(statusCodes.INTERNAL_SERVER_ERROR, "Provider not supported");
    response.send(200, user);
    } catch (ex) {
    console.error('Error parsing response from '+provider+':', ex);
    request.respond(statusCodes.INTERNAL_SERVER_ERROR, ex);
    If this answers your question, please use the "Answer" button to say so... Mikael - http://blogical.se/blogs/mikael

  • How do I delete obsolete email addresses from the "to:" line. All of the addresses a person has had show up. I only want the correct one to be displayed.

    I would like to delete obsolete email addresses from appearing in the Address line of my outgoing email. My address book only has the current email address of each person. Why does the old addresses appear?

    Check Window > Previous Recipients for that user name and see if the old addresses are there. If they are delete them.
    Allan

  • MS Access - Failed to retrieve data from the database

    Hello,
    I've developed a quite complex report (CR XI) from a SQL Server 2005 database. The report contains a number of inner and outer joins and a subreport.
    I have a duplicate copy of the database held in MS Access. If I attempt to change the datasource location to the MS Access database, I'm unable to run the report and get the following error:
    Failed to retrieve data from the database.
    Details: ADO Error Code: 0x80040e14
    Source: Microsoft JET Database Engine
    Description: Join expression not supported.
    SQL State: 3000
    Native Error: -540806602 (Database Vendor Code: -540806602)
    By changing every outer join to an inner, the report pulls in data but obviously not what is required. It seems as though it doesn't like the outer joins.......
    Would this be in some way due to limitations with the JET database engine?
    Thanks in advance,
    Dom

    Hi Aditya joshi,
    Thanks for the reply.
    Unfortunately my query doesn't contain any FULL OUTER joins, just INNER and LEFT OUTER's.
    I've enclosed a parred down version of the SQL:
    SELECT numerous fields
    FROM   (`AAL` `AAL`
              INNER JOIN
              ((((((`CQ` `CQ`
              LEFT OUTER JOIN (((`SH` `SH`
              INNER JOIN ((`PA` `PA`
              INNER JOIN `AL` `AL`
         ON `PA`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `CA` `CA`
         ON `PA`.`ArchetypeID`=`CA`.`ArchetypeCode`)
         ON `SH`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `SD` `SD`
         ON `SH`.`SurveyID`=`SD`.`SurveyID`)
              INNER JOIN `F` `F`
         ON `SH`.`FormID`=`F`.`FormID`)
         ON `CQ`.`QuestionID`=`SD`.`QuestionID`)
              LEFT OUTER JOIN `PC` `PC`
         ON (`CQ`.`QuestionID`=`PC`.`QuestionID`)
              AND (`AL`.`ProjectUPRN`=`PC`.`ProjectUPRN`))
              INNER JOIN `FI` `FI`
         ON (`CQ`.`QuestionID`=`FI`.`QuestionID`)
              AND (`F`.`FormID`=`FI`.`FormID`))
              LEFT OUTER JOIN `QG` `QG`
         ON `CQ`.`QuestionID`=`QG`.`QuestionID`)
              LEFT OUTER JOIN `CQG` `CQG`
         ON `QG`.`QuestionGroupID`=`CQG`.`QuestionGroupID`)
              LEFT OUTER JOIN (`E` `E`
              INNER JOIN `SDE` `SDE`
         ON `E`.`ElementID`=`SDE`.`ElementID`)
         ON `SD`.`SurveyDataID`=`SDE`.`SurveyDataID`)
         ON `AAL`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `A` `A`
         ON `AAL`.`AreaID`=`A`.`AreaID`
    Can you see where the problem lies?
    Many thanks,
    Dom

  • Can workbook owned by another user be deleted from the database

    Hello all,
    We are wanting to know if a workbook can be deleted from the database by someone other than the owner. We have a user that was once with the organization that created and uploaded several Discoverer reports to the database. However, they are no longer with the organization. If a change needs to be made to one of their reports, we can download a copy and modify it. However, when you upload the report and keep the same name, it creates a copy of the report in the database but now owned being by the new user. When users using Viewer retrieve a list of reports from the database, they are seing two reports with the same name in the listing, but owned by different people. We could always rename the new report. However, we would like to 'clean up' the production database by purging any obsolete or older verision reports regardless of who they are owned by.
    Thanks in advance for any input

    Hi,
    Yes we can do this, to the best of my knowledge here is my input: There are two ways to do this
    1) a) If that workbook has been shared with your id thne login as you in Discoverer Plus then open workbook and using SAVE AS and save the workbook and it wil save under your id.
    b) follow the below command to delete the workbook owned by old user
    2 )-->Login as EUL user (ex: EUL10_US) in Discoverer Administrator and export the workbook owned by the owner (no longer exist in the company: abc.workbookname) and save in your local drive
    -->Login as new user in Administrator and import the workbook from the local drive
    -->using below command delete the workbook owned by old user (*abc.workbookname*) by running at command prompt.
    dis51adm.exe /connect eul10_us/xxxxx@DBname /delete /workbook "abc.workbookname" /eul eul10_us /log C:\oracle\BIToolsHome_1\bin\Delete_wb_oatr.log
    Now you will have only one copy of the workbook in the database.
    hope this helps you.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to delete and incorrectly typed email address from the scan to email app on HP 6700

    Hello,
    I incorrectly entered an email address on the SCAN TO EMAIL APP on my HP Officejet 6700 Premium and I am unable to remove this email.
    When I enter the screen and select delete or modify or remove for the associated email it prompts me to enter the pin number (which of course was sent to an email address that I do not have since I typed it in incorrectly).
    I have done a search of the forum and seen that people using this app with other machines are also having this problem and have not found an answer.
    Any help would be appreciated.
    Thank you!

    Hi Denise-Adam, welcome to the HP Forums. If you do not have a settings option in the Scan To Email App, you will have to remove Web Services, and re-enable it. This will require you to add the printer back to HPConnected (if you are using it), and re-add the app.
    The instructions to reset web services are under the section "What if I lose my printer code before registering my printer?" in this document:  Getting Started with ePrint
    I hope this helps.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

Maybe you are looking for

  • I'm having some odd problems staying connected to the Internet on my Macboo

    I just got the computer earlier this year, in June, I think, and it has worked wonderfully until today, when my family got a new router to replace our defective one. Whenever I close and open my Macbook Pro or my sister closes/opens her Macbook, we h

  • Causing duplicate records

    Hi, generally we use the following api to insert records. but it is causing duplication of records. plz give me some guide lines. /* Formatted on 2006/04/21 15:31 (Formatter Plus v4.5.2) */ CREATE OR REPLACE PACKAGE BODY cec_ipc_transactions_api AS P

  • Get instance name help

    Okay, I want to be able to click anywhere and get the instance name of any object. The kicker is this actionScript needs to be on the main timeline and not on the movieClip. In other words, if I have one movieClip on the stage named "my_MC". I want t

  • Error: The ipod "..." cannot be synced. The required file can not be found. Case for Ipod classic

    Hi, My ipod is being stubborn, everytime i connect it to my Windows PC. Its does a new sync despite having changed its setting. When I check manually manage files. And then copy music files onto Ipod some times. After eject the music is there sometim

  • Launching web aplication from oracle Forms

    1) How to launch any other web application from from oracle Forms application. 2) Can we pass parameters from Oracle forms application to other web application? if yes how? Help me