creation of a forgotten password page and sending an email to this user

Hello
I need to create a forgotten password page in which there will be two text box named name and email user id and the user will provide its email and usename id in the text box. If apex will verify that the provided name and identification of email are there in the database and if identification of email is the name of the user and an email will be send to this email Id automatically generated container password.
pls help
Thank you

1003090 wrote:
Hello
I need to create a forgotten password page in which there will be two text box named name and email user id and the user will provide its email and usename id in the text box. If apex will verify that the provided name and identification of email are there in the database and if identification of email is the name of the user and an email will be send to this email Id automatically generated container password.
pls help
Thank you

Hello

Welcome to the Forum!

It is a question that is too large for anyone to explain in the forum, unless they have a link to the documentation or blog entry or a few books.

Have you ever tried something for this? If so, please send the code here...

Algorithm for this would be...

  • Compare the user name and email with the DB values, go to the next step, if they are correct error message, otherwise return
  • Generate random password by using a combination of user name and/or random strings. You can use DBMS_RANDOM. STRING to generate this password
  • Update your table with new password. If you store the password as a hash value (as it should be kept), then hash password before updating to the table
  • Send e-mail to use APEX_MAIL using. SEND

    Kind regards
    Hari

  • Tags: Database

    Similar Questions

    • The forgotten password go that sends an email to iCloud

      Hello

      My phone is the iPhone 5

      ICloud password, but I forgot my update of the phone.

      The forgotten password go that sends an email to iCloud

      I'm not available

      Please help me.

      IMEi = *.

      iCloud = *.

      < personal information under the direction of the host >

      There is a contact link.

      Apple ID support

      Apple ID support (2)

    • I was overcome by google, which I have the right to be my default search engine. I want to go back to my windows usual opening the page and access my email in this way.

      Invasion of my site Google means that results can reach my box because, unlike windows, they do not recognize my password and e mail address and keep telling me it's wrong. By using bing, I can get up my emails, but they are behind the google page, I want bad immediately away! Timothy Yates

      Open internet options, change the 'Home page', click 'browsing history', settings, display

      folders, change, erase, click the tab programs, "Manage Add-ons", edit.

      Also, with google, go in run, type: regedit

      In regedit, expand: HKEY_LOCAL_MACHINE/software, look for google & delete it, close,.

      Expand: HKEY_LOCAL_USER/software, do the same thing, close when thru.

    • How to access directly to the forgotten password page?

      Hello

      Im trying to use the single sign-on password resets and the link to the IOM password page.

      My problem is that when I try to redirect to ip:port/xlWebApp/forgetPassword.do?method=displayVerifyUserId I get this error

      Error 401 - non authorized

      Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

      10.4.2 401 unauthorized

      The request requires user authentication. It MUST contain a header field WWW-Authenticate (section 14.46) containing a fault that is applicable to the requested resource. The client MAY repeat the request with a suitable authorization (section 14.8) header field. If the application already includes identification of the authorization information, then the 401 response indicates that authorization was refused for those credentials. If the 401 response contains the same challenge as the previous answer, and that user agent has already attempted at least once authentication, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include diagnostic information relevant. HTTP access authentication is explained in section 11.

      How can I go directly to the forgotten password page without going through the portal of the IOM?

      It works for me:

      http://>: 14000, identity, faces, forgotpassword

      Also, you have the IOM - OAM integration?

      If so, you can try to access with http://: 7777/identity/faces/forgotpassword . Its work for me in the PS2 & PS3...

      ~ J

    • I get Windows Live Mail error ID: 0x800CCC6E when I try and send an email to a group of 100 or more. How can I fix it?

      I get Windows Live Mail error ID: 0x800CCC6E when I try and send an email to a group of 100 or more. How can I fix it?

      Hello

      When you use Windows live mail and the question you have posted is related to Windows Live, so it would be better suited in the Windows Live community. Please visit the link below to find a community that will provide the best support.

      Windows Live Mail Forum

      http://www.windowslivehelp.com/forums.aspx?ProductID=15

    • Microsoft is convinced that I'm Thai and instructs all links to thai-language MSN sites and sends me emails in thai.

      Original title: the thai language at Microsoft

      I'm British.

      My email is @hotmail. Co.UK.

      I bought my laptop in England.

      Microsoft is convinced that I'm Thai and instructs all links to thai-language MSN sites and sends me emails in thai.

      How can I fix?

      Hello

      Thank you for the update.

      1. What are those Microsoft e-mails that you receive?

      2. have you contacted any Support Microsoft before?

      You can try to change the language setting on the MSN (MSN selection worldwide) site in the United Kingdom and check if it helps.

      Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

    • Recently went from Outlook Express to Windows Live Mail. Since that time I can't send/receive emails without this message popup Windows live mail ID error 0x800ccc78 Server Error 530.

      Recently went from Outlook Express to Windows Live Mail.  Since that time I can't send/receive emails without this message popup Windows live mail ID error 0x800ccc78 Server Error 530.

      You will need to ask here:

      Windows Live Mail Forum
      http://windowslivehelp.com/forums.aspx?ProductID=15

      And you need to display an error message in its entirety. You can left click on it to highlight then right click to copy and then paste in this thread. Just the number of code alone is not enough.

    • Windows 8 Mail will not add account - email/password wrong and sending emails error

      I experienced problems with the application Mail in Windows 8.

      SENDING EMAILS ERRORS

      First of all, whenever I opened the application where I have a hotmail account and an office 365, a banner message would appear at the top saying there was a connection to my account error and messages could not be sent to this account and 'check with your provider.

      Itself that question seems to have especially dressed with my hotmail account but it is on and off, this is the first problem.

      In regards to sending emails to my office 365 account, that I had the same problem and when I don't have this problem, there is another.  When I send an email I have press the button send and it zoomed off the coast but then it is still sitting in the Outbox or send in fact even if you press edit, then press on send again.

      ERROR ADDING ACCOUNT

      To try to rectify the email sending mistakes with my 365 office account, I deleted the app account and attempted to re-add.  I select the type of account 'Exchange' and get my correct email address and password but he always tells me that the password or email is incorrect.  I made sure these details are correct and they are, because they work when I login by normal web i.e. on Google Chrome.

      How can I overcome this error?

      Please help - it's frustrating!

      Hi Caitlin,

      Thank you for reporting this issue in the Microsoft Community Forums. As you are facing problems with sending emails and to add email account in the mail application, this can be caused if the Mail app is corrupt.

      To resolve this problem, I suggest you to run Applications troubleshooting and check if that helps. If the problem persists, you can consult the online Help article, which has steps to update of the app, app Sync licenses and reinstall the application. See: http://windows.microsoft.com/en-us/windows-8/what-troubleshoot-problems-app

      Try the steps mentioned in the help article and let us know if that fixes the problem with the mail application.

    • After I connect my windows live hotmail, I have errors on the page and no new email I've been hacked

      one of my friends telling me: he thought I could have been hacked due to an e-mail called it received asking for money I've been blocked abroad. Not me. pretty well since then I have been able to log on and changed my password but on hotmail page, live there are errors on this subject and is not updated. Ty F.R.

      View all Windows Live and Hotmail questions in the appropriate forum found here:
      http://windowslivehelp.com/

    • How can I increase the font size on Mozilla - for everything, including the home page and all my emails?

      I think that I asked the question as best as I can. On Internet Explorer, I could click at the bottom right and move from 100% to 150%.

      Given my view, this change would be extremely useful.

      Hi dsbloom65,

      You can try using the Zoom. This will decrease the size of everything on the page. You can try to hit CTRL and + a few times to try it. CTRL and 0 it will return to normal size.

      If this isn't what you're looking for, you, you might want to look at some of the options in Firefox Accessibility features - make Firefox and web content work for all users . There is much good information in this article.

      Hope this helps!

    • Options &gt; Security &gt; passwords saved and printed on the site, the user name and passwords saved on my computer, thank you.

      Options > Security > saved passwords, can I print on the site, the user name and passwords saved on my computer, or how to locate the file where this information is kept. I change computers and want to transfer the information to the new laptop. Thank you.

      See

    • HP DeskJet 3525 - how to scan and send the email from the printer without a PC

      Hello

      I would like to know if the printer HP DeskJet 3525 can scan and send by e-mail, by itself, without being connected to a PC. WiFi connectivity works.

      THX

      szekelya

      Hi @szekelya,

      I see by your post that you would like to know if you can scan to be sent from the printer display. I can help you with this.

      With this model, you can scan from the printer to the computer, there is no option for scanning to email from the printer.

      I have provided a document for how Scan: from the control panel.

      Here is a document for scanning the computer. Scan.

      Just select your operating system. There is a section for scanning to e-mail, via the HP software.

      What operating system do you use? How to find the Windows Edition and the Version on your computer.

      If you need help, let me know.

      Good day!
      Thank you.

    • How to receive and send an email on my new laptop which has Windows 8.

      Original title: new windows mobile 8

      Need to know how to receive and send emails on my new laptop computer

      See here: Mail for Windows app

    • Impossible to connect to the smtp server and send an email using javamail.

      Hi all

      I am struggling with sending e-mail with javamail api.

      I've visited a few forums but not be able to solve the problem then post here.

      Details of the situation are:

      1 SMTP - to which we are able to connect with telnet and able to send emails that work even between the firewall.

      2 tried to disable IPV6 from my windows machine 7 after reading something - java tries to connect to smtp with IPV6 and it should be disabled so that javamail work.

      3 has tried to run the same code to a linux environment. in this environment, we are also able to connect to the smtp with telnet server and send mail

      the code I have tried is below.

      import java.util.*;
      import javax.mail.*;
      import javax.mail.internet.*;
      import javax.activation.*;
      
      public class SendEmail
      {
      public static void main(String [] args){
      String to = "[email protected]";//change accordingly
      String from = "[email protected]";//change accordingly
      String host = "smtp.somthing.com";//or IP address
      
      //Get the session object
      Properties properties = System.getProperties();
      properties.setProperty("mail.debug", "true");
      properties.setProperty("mail.smtp.host", host);
      properties.put("mail.smtp.starttls.enable", "false");
      //properties.put("mail.smtp.port", "25"); //commented as its by default takes 25
      Session session = Session.getDefaultInstance(properties);
      
      ////compose the message
      try{
      MimeMessage message = new MimeMessage(session);
      message.setFrom(new InternetAddress(from));
      message.addRecipient(Message.RecipientType.TO,new InternetAddress(to));
      message.setSubject("Ping");
      message.setText("Hello, this is example of sending email  ");
      
      // Send message
      Transport.send(message);
      System.out.println("message sent successfully....");
      
      }catch (MessagingException mex) {mex.printStackTrace();}
      }
      }
      

      I get the errors are

      DEBUG: JavaMail version 1.4.7
      DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
      DEBUG: Tables of loaded providers
      DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle]}
      DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]}
      DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
      DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
      DEBUG SMTP: useEhlo true, useAuth false
      DEBUG SMTP: trying to connect to host "smtp.something.com", port 25, isSSL false
      Exception in thread "main" java.lang.RuntimeException: javax.mail.MessagingException: Could not connect to SMTP host: smtp.something.com, port: 25;
        nested exception is:
          java.net.ConnectException: Connection timed out: connect
          at emailer.SendMail.main(SendMail.java:64)
      Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.something.com, port: 25;
        nested exception is:
          java.net.ConnectException: Connection timed out: connect
          at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1961)
          at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
          at javax.mail.Service.connect(Service.java:295)
          at javax.mail.Service.connect(Service.java:176)
          at emailer.SendMail.main(SendMail.java:58)
      Caused by: java.net.ConnectException: Connection timed out: connect
          at java.net.DualStackPlainSocketImpl.connect0(Native Method)
          at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
          at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
          at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
          at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
          at java.net.PlainSocketImpl.connect(Unknown Source)
          at java.net.SocksSocketImpl.connect(Unknown Source)
          at java.net.Socket.connect(Unknown Source)
          at java.net.Socket.connect(Unknown Source)
          at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)
          at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:237)
          at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1927)
          ... 4 more
      

      someone had a problem like this?

      suggestions are welcome...

      The server I used was not accessible from the telnet command or java code.
      However when I telnet to the server it was implicitly redirected to another server that I failed to notice.

      My sincere apologies to all
      I'll take more precautions before posting and check the facts in more detail.

    • automatic scheduling of the report and send the output to the user by e-mail

      Hello
      Please I need scheduled report and send the output by email in discoverer. Please can someone help how to achieve this?

      Hello

      Yes, do you that.

      Please see Metalink Note 373812.1 how the schedule of reports to run at a given time while automatically the output electronics

      Thank you
      Fati

    Maybe you are looking for

    • Single-pass does not work for Web sites after the last update of firefox

      Single-pass does not work for Web sites after the last update of firefox. This works in IE and Chrome and it works under windows (when starting the computer), but not with any website in Firefox.

    • Satellite Pro L300 - does not start form DVD

      Problem: my Satellite Pro L300 will not start no optical drive (DVD) Leisure problem scenario: Insert the DVD Toshiba recovery in optical disc drive,Restart and during the boot prompt, press F12 and select the optical drive.Black screen and the curso

    • Tecra M2 - no start

      Hello world I just got a * Toshiba Tecra M2 * who suffers from some strange symptoms. I've first turning on laptop, I got a message saying that the RTC was not working properly. The machine is in storage for 18 months so thought it was enough to be c

    • Need drivers XP for Satellite A10 S203

      HI :) I have reinstall my Toshiba Satellite A10 S203. (Model number: PSA10E-018EZ-NO)Problems is that I can't find the drivers on the own Toshiba driver download page. (A10-S203 is not listed) I was hoping that someone had a link, or at least a list

    • Departure of analog playback corrupts waveform analog writing

      I came across a strange illness that can happen if I run a diagnostic routine on my system.  My routine of diagnosis is essentially four while loops, each containing code to control specific items in the hardware of the system. Two of the articles ar