How to send a main when I press a botton

Oracle Forms 6i

Hai All

I work in the entry of leave application. When users fill out the form and when there press the button so I need to send an email to the corresponding boss. The user enters the mailid into the text field in the form.


Pls tell me the steps to do this

Thanks in advance

Srikkanth.M

You can do this in a couple of ways; through the database using UTL_SMTP and UTL_MAIL, through OLE in an e-mail Client on the computer of the users (WebUtil uses), or by the use of a Java Bean or the snap of Java (CCP). My personal preference is through the database that this method is not dependent on external programs.

Check out the email database with UTL_SMTP package example and source code. This maildemo package does not include the ability to add attachments to the e-mail sent from the database, but I could easily change the demomail package to add this capability. Make sure that change you the package to use your e-mail server or it will not work.

Hope this helps,
Craig B-)

If a response is appropriate or useful, please mark accordingly.

Tags: Oracle Development

Similar Questions

  • How to set the default when button press "Enter".

    Hello

    I have a form, and he doesn't have that one button (send). When I press 'Enter', it can send the form and action. However, when I add another button (Normal button, not submit), it cannot run directly submit when I press "Enter".

    If you press 'Enter' and the form can submit automatically, it is more user-friendly than without this feature. Therefore, can I know the method to set the default button when users press "Enter"?

    At first I thought that can matter the order of the controls on the form.  When I run this code:





    While I am in the text box, if I press enter the form sends.  I tried originally with button and submit entries in the opposite direction.

    Note that the button enter will not submit the form if you are in a select command (aka dropdown) or a textarea component or if your home is not on a form element.  This is the default behavior.  If you want to replace, you write javascript.

  • iBots - how to send an alert when NO records are returned

    It seems simple enough send an alert when a query produces results, but I want to do the opposite. For example, I want to only receive an email at 7:00 when an object has no data for the current day inside. I don't want to know which records every day are returned.

    How would implement such an iBot as this event will fire every day, and only email me when no records are returned to the form of the request?

    (1) create a small report called "No record" and create an iBot unplanned for this report.

    (2) you have your iBot created for the original report, Yes? Very well. If you don't want any notification when documents are produced for the iBot, and then in the destination tab, make sure that all boxes are unchecked for "Of the devices."

    (3) now in the Advanced tab, click the "Add Action" button under the heading "perform these actions when no records are returned by the conditional query.

    4) click on "iBot."

    5) navigate to the ibot "No record" created in step 1.

    Now, when the original ibot fires and there are records, nothing will be sent because you not controlled all means to get a notification. But when there is no record, this event will trigger the ibot chained that you linked to in the Advanced tab. The iBot will be as an attachment, your report that says "no record".

  • Why am I unable to send animation effects when I press and hold send key

    I have the ios10 update on my phone but when I hold down the Send button to add animations, little option to choose what I want will not appear in my messages nor can I receive the animation when someone sends me

    Disable the reduced movement.

    Settings > general > accessibility > reduce motion > [disable]

  • CodeBlock element: how to make it so when I press on enter, it doesn'insert an other codeblock elem?

    FM 11

    DITA 1.2

    Currently when I'm entering text in the < codeblock > element, it inserts another element < codeblock > whenever I press Enter, like this:

    < Codeblock > This is the first line. < / codeblock >

    < Codeblock > This is line 2. < / codeblock >

    < Codeblock > This is line 3. < / codeblock >

    I want to keep breaks line like this:

    < Codeblock > This is the first line.

    It is the second line.

    It is the third line. < / codeblock >

    The rule r/w for the codeblock are as follows:

    element 'codeblock' {}

    keep line breaks;

    }

    In my model, in the paragraph Designer, I tried setting the following tag of TFP as body and CodeBlock.

    My (s) ESD is set to use the CodeBlock paragraph format.

    It's something simple I'm missing?

    Marsha

    You can not.

    Use SHIFT + ENTER.

    .. .Scott

  • How to send a message when you browse the page creation

    Hello

    I have an obligation to send a message saying "this page changes not saved. If you continue, the changes will be discarded. You want to continue,"when browsing a page creation as clikcing on the link on the homepage or on the link on the page.

    This feature is available in the pages of seeded Oracle OAF.

    Kind regards
    AFA

    Hello

    Create a formvalue and attach it to the same ViewAttribute as lov entry is.

    then in mapping lov create a mapping of lov to form value with the element of area of LOV as table lov item id and return the element in the formvalue form.

    By that if the user tries to present with invalid values... it will display an error message: "select a valid value."

    Thank you
    Gerard

  • How to implement a procedure when you press the button

    Hello
    I am new to oracle applications. I placed a button on my form and was unable to pass the parameters to the procedure. I am able to pass parameters to the form of the procedure to a button.

    It was a simple error, which means that either there is no package or the package.procedure is not or the number and type of parameters are not passed to the procedure.

  • How to regain the ability to send a link when I'm on a Web site?

    Before this latest Fire Fox update, a golden box appeared in the upper left corner. I could do a right click on this box and get a menu including "send a link". Now that the box is gone and I don't know how to send a link when I read an article.

    In case it's useful, I have created a map where the menu items moved between the old menu button and the menu button again: http://jeffersonscher.com/res/menu/comp.php

  • How can I save the Capture screen image to a file automatically when I press the screen Capture button?

    I want to know how can I do so when I press the button on my keyboard, to do a screen Capture, it automatically saves it in a file?

    I want to know how can I do so when I press the button on my keyboard, to do a screen Capture, it automatically saves it in a file?

    ==================================
    The free Gadwin Printscreen version could be
    what you are looking for:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Gadwin PrintScreen download screen
    http://www.Gadwin.com/download/
    (scroll down to: Gadwin PrintScreen 4.3 freeware)

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • FieldChangeListener works not when you press the button

    The following code creates a popupscreen and creates two buttons.  I install a FieldChangeListern for buttons. How is it, nothing happens when I press one of the buttons?

    DialogFieldManager Manager = new DialogFieldManager();
    manager.addCustomField (new ButtonField ("Button1", ButtonField.CONSUME_CLICK));
    manager.addCustomField (new ButtonField ("Button2", ButtonField.CONSUME_CLICK));

    PopupScreen myPopupScreen = new PopupScreen (manager);
    FieldChangeListener BtnListen = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    System.out.println (Field.ToString ());
    ButtonField myBtn = field (ButtonField);
    myBtn.setLabel ("changed");
    //}
                    
    }
    };
    manager.getField (0) .setChangeListener (BtnListen);
    manager.getField (1) .setChangeListener (BtnListen);
    UiApplication.getUiApplication () .pushScreen (myPopupScreen);

    I don't think that the first custom field of a DialogFieldManager's field 0. You are better off adding your buttons like this:

    ButtonField button1 = new ButtonField("Button1", ButtonField.CONSUME_CLICK);ButtonField button2 = new ButtonField("Button2", ButtonField.CONSUME_CLICK);button1.setChangeListener(BtnListen);button2.setChangeListener(BtnListen);manager.addCustomField(button1);manager.addCustomField(button2);
    
  • When sending long E-mail, top bar containing the Send button will view, how to send in this situation?

    During long typing NEW e-mail, the text develops the window moves to the top and the button SEND disappears under a different toolbar at the top of the screen. How can I send an e-mail when the SEND button is not accessible? I can't pull the window and send button area down enough to allow the cursor to activate.

    There are different ways to do... The simplest is to click with the right button on the element (I think you said a toolbar at the top of the screen) which covers the button send, select 'Inspect element' or press 'Q', then click on the arrow down next to the element name and choosing 'Remove the node', then the toolbar disappeared , and you may see the submit now button.

    Another way is JavaScript... which is a little hard

  • Windows vista 32 bit. Windows Mail receives by e-mail at the start of the program, but when I press send/receive it does nothing more.

    Windows vista 32 bit.
    Windows Mail receives by e-mail at the start of the program, but when I press send/receive it does nothing more.
    Then when I mail windows startup that he gets all of my email, if I send an email to myself, it sends e-mail directly, but by hitting the send/receive button, it does nothing (it shows the Outbox send/receive and said that there are mistakes, but when you check the error tab, it showed no errors). If I close windows mail and that he again, the email is received.  I put it to automatically receive by email after 10 minutes, even there, receiving nothing. I have not any virusscanner, it's a clean install with windows vista 32-bit, and configured the windows Messaging. Got all the updates that are available from Ms.
    I import e-mail by using the import function.
    Someone at - it an idea?

    Greetz Koen

    Try this. You might have stuck messages even if they are not visible.

    How to remove an Undeletable Message stuck in Windows Mail
    http://www.Vistax64.com/tutorials/62560-Windows-Mail-problems.html

    If this does not help, delete the account, restart and add it again.

  • When I press the tab button all my favorites in a show from the list-how to make that happen?

    When I press the tab key to open a new page, all my favorites in a show from the list-how to make that happen? It should be a correct white page or the home page?

    said CWEB

    When I press the tab key to open a new page, all my favorites in a show from the list-how to make that happen? It should be a correct white page or the home page?

    OK this question I figured it adds on the deletion settings

  • When you press the new tab, how can I get the homepage instead of the history of tiles?

    When you press the new tab, how can I get the homepage instead of the history of tiles?

    You can try this.

    Instead of the parameter mentioned pref in about: blank, you can enter any site of your choice.

    Ex: encrypted.google.com

  • My cursor has recently started to disappear when im not using it but when I press a key it flashes back to a second... How can I solve this?

    Well, I'm a frequent user Firefox announcement recently that my cursor began to disappear when I'm not moving it. However when I press a key it flashes back for a second, when I move it sparkles a lot (one moment sound here awhile it isn't). How can I fix it?

    This has happened

    Each time Firefox opened

    Is earlier today (20 July 2010)

    One of your modules could be the culprit. Try running Firefox in questions to troubleshoot Firefox in Safe Mode with all disabled add-ons. If that solves the problem, see Troubleshooting extensions and themes and problems of hardware acceleration to resolve common Firefox problems and possibly troubleshoot issues with plugins like Flash or Java to solve common Firefox problems

Maybe you are looking for