Need to send mail to user while clicking update button

Hi
I am new to APEX.
I have a requirement. When clicking an update button the a mail should automatically send to user mentioned in the form. How can i achieve this. Please help.
Regards
Hisham.A

Hi,
Do not create duplicate post about same problem
Re: need to send a automatic mail to an id while clicking a button
Regards,
Jari
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Similar Messages

  • Auto Population of Email Definition fields while sending mails to user

    Hi,
    I have the requirement that after a resource object has been provisioned to an user, a mail should be sent to him for confirmation.
    I am able to successfully send mails to users after the resource object has been provisioned to him by making the configuation settings in the OIM system.
    I have made use of a Resource Object , Resource Form , IT resource of type mail server , Email definition etc.
    The point is while provisioning the resource object I am populating the User Defined Fields. These fields are visible at the xlWebApp console through the resource form. I am populating these fields while requesting the resource through the xlWebAPp UI.
    Now i need to send mails to the user with these fields populated with the values that i m providing while provisioning the resource. Currently my sent mails just consist of plain email definition with a subject line and a body text.
    Please let me know how can i include the values in the populated fields in the body of the mail through settings in OIM.
    Since i m a QA person i cannot go ahead and write code for creating an adpater for this task. Kindly let me know is there any way by which I can do the same through config settings in OIM.
    Thanks in advance.
    Pooja.

    Hello,
    Actually i have a resource object as "Laptop" suppose, so for me the user defined fields are Laptop_type, RAM value, ROM Value and Emp ID.
    These fields are made visible as UDF through Pre-pop adapters and all the other required settings.
    While provisioning the same in the xlWebApp console I am populating them.
    The resource form for me (Form Designer for the resource object) is made visible and i am filling in values while provisioning.
    Now while sending the mails these values should reflected in the mail body for the fields.
    Eg: Subject [hi] Mail body [ The following resource has been provisioned. Laptop_type : Dell, RAM value: 512, ROM value: 40, EMP ID: 123] where these values are filled in the resource form while provisioning the resource object.
    Pleased let me know how can i send such mails through config settings in OIM. Right now my mail simply looks like
    Eg: Subject [hi] Mail Body [The resource has been provisioned to you]
    Thanks again.
    Pooja.

  • Need to send mail using apex

    Hi,
    I am using apex 4.2 and oracle 11g XE. I need to send mail so I used the following code:
    HTMLDB_MAIL.SEND(
          P_TO       =>  '[email protected]',
          P_FROM     =>   [email protected]
          P_SUBJ     =>  'Data in TECHNICAL_DETAIL edited' ,
          P_BODY     =>  'Please click link below for affirmation/rejection of changes' ,
          P_BODY_HTML=>   '<p><a href="http://localhost:8080/apex/f?p=109:25:12079147455079">link</a></p>'
    It is going t apex_mail_queue successfully. Then I used the following code:
    which one i should use:
    1.
         wwv_flow_mail.push_queue(
            P_SMTP_HOSTNAME => xxx
            P_SMTP_PORTNO => 'yyy
    or
    2.
         APEX_MAIL.PUSH_QUEUE(
            P_SMTP_HOSTNAME => xxx
            P_SMTP_PORTNO => yyy
    Also what else I need to send mail and what should i  ask DBA to provide me so that mail can be sent successfully.
    Please give some idea.
    Thanks,
    Chandra Bhanu

    Hi,
    You should use APEX_MAIL.PUSH_QUEUE witch is documented
    APEX_MAIL
    Parameters
    Description
    p_smtp_hostname
    SMTP gateway host name
    p_smtp_portno
    SMTP gateway port number
    Note that these parameter values are provided for backward compatibility, but their respective values are ignored. The SMTP gateway hostname and SMTP gateway port number are exclusively derived from values entered on the Manage Environment Settings when sending email.
    Regards,
    Jari

  • Need to Send Mail from JSP...

    Dear Team,
    I Need to Send Mail from JSP, have Designed user Interface to enter
    to, from, subject, and message text .
    Have Downloaded mail.jar and activate.jar file..... and placed in tomcat lib directory and WEBAPPS/WEB-INF/lib Directory too
    How do i send a mail to user ?
    do I require something else apart from things that i have mentioned?
    do i have to Configure SMTP, POP3 or Something like this....
    Now If I Create a object of Type MimeMessage and Set Recipient, from, subject and if i say transport.send(message) will this do My JOB???

    Dear Team,
    I Need to Send Mail from JSP, have Designed user
    Interface to enter
    to, from, subject, and message text .
    Have Downloaded mail.jar and activate.jar file.....
    and placed in tomcat lib directory and
    d WEBAPPS/WEB-INF/lib Directory too
    How do i send a mail to user ?
    do I require something else apart from things that i
    have mentioned?
    do i have to Configure SMTP, POP3 or Something like
    this....
    Now If I Create a object of Type MimeMessage and Set
    Recipient, from, subject and if i say
    transport.send(message) will this do My JOB???Yup! in addition to all the above i need to know my mail box outgoing mail server. and that's enough...... i am able to do that.
    Regards,
    Jagadeesh HS.

  • Failure writing file and Failure sending mail: The user or group name is not recognized.Mail will not be resent.

    Dear All,
    I am using MSSQL SSRS 2008. 
    All the reports run properly when viewed via a web browser. However for subscription, I am having a strange
    experience. 
    The subscription having intermitten failure. I need to execute multiple times to get it work. 
    Following is the exception I am getting:-
    Failure sending mail: The user or group name 'xxxxx' is not recognized.Mail will not be resent.
    Failure writing file DailyPolicyExportCDN_ST@timestamp : The user or group name 'xxxxx' is not recognized.
    Following is the exception I retrieve from log files. 
    webserver!ReportServer_0-2!1b0c!07/31/2014-05:25:09:: e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeClientDisconnectionException: A client has disconnected from the Report Server Web service application
    domain ReportServer_MSSQLSERVER_0-2-130512716074991980. No corrective action is required. An error code has been submitted to ASP.NET to release the connection. The error code is 800708CA. ---> System.Runtime.InteropServices.COMException: This network connection
    does not exist. (Exception from HRESULT: 0x800708CA)
    Any idea what went wrong?
    Thanks in advance

    Hi NeoCK,
    According to your description, you can access your report successfully, but it fail to send e-mail subscription. Right?
    In this scenario, since you can access the report successfully, so this user has permission on report server. Please go to E-mail setting in your Reporting Services Configuration Manager, check if the current user has permission on that SMTP server.
    If this is still not working, please recreate the subscription and try again.
    Reference:
    SUBSCRIPTION
    ERRORs : Failure sending mail: The user or group name 'CB_OFFICE\XXXX' is not recognized.
    The user or group name 'MYDOMAIN\myuser'
    is not recognized
    SSRS
    2008: Failure writing file ... The user or group name 'domain\user' is not recognized
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Need to send mail & upload files using JSP

    hi, got a lot of issues,.. just starting out as a developer.. so here goes.
    1st Need to send mail & upload files to server using JSP(tomcat).. an example to demo it would be nice.
    thanx in advance

    Look at this for email:
    http://forum.java.sun.com/thread.jspa?forumID=45&threadID=285950
    and go to:
    http://servlets.com/cos/
    for a package to upload files.

  • NEED TO SEND MAIL FROM FORMS...

    DEAR ALL,
    I NEED TO SEND MAIL FROM FORMS WHEN I PRESS THE MAIL BUTTON.
    I HAVE NO IDEA FOR THIS CRITERIA. IF ANY ONE EXPERIENCED WITH
    THIS CRITERIA, PLS HELP ME AND GIVE ME THE CODING FOR THAT.
    AND ALSO PLS EXPLAIN EACH LINE OF CODING, WHICH U POST.
    THANKS IN ADVANCE
    S.BERNANDAS

    Your requirement can be done in forms. Good amounts of advice here. There 244 messages this year alone that fit the search criteria in the Oracle Forms forum.

  • What is the field in the tabel "Send mail to users"

    Hi Folks,
    if the job(Z or Standard prog)is completed successfully then it sends mail to user. i want to know what is the field to capture this information.
    Could you tell me what is the field in the table TBTCO.
    Thanks,
    Lakshmi

    Please check table SOST. MSGV1 field might hold this info.

  • Letting user to click a button and run an application

    Hi all,
    I'm trying to do this: once the user logged on, the user can click a button to run an application. If it's the first time he/she use it, it'll let user to download the program and then run it. How can I do that?
    Thank you.
    Cal

    Find out about Java Web Start.

  • Weird thing about when user click Update button

    Hi,
    I got a very weird thing when i want to add some my code in button "1" on click event. I use below code to capture the on click event when user click "Update" button, so i can do some tasks(assign some fix value to a specific field). I found i can capture the event only once. Once the document is updated and i open second recordl then my code is never exexuted then. No error, no exception. Is anyone know what happen?
    Thanks,
    Lan

    Hi All,
    Yes, you are right. After i use try block, i can see the error. I thought I should be expected an red exception alert in the B1 info bar.
    Thank you !
    Lan

  • Self registration & needs to send mail from admin to user.

    Hi friends,
    system needs to  send an e-mail from the administrator to the user, informing the user that self-registration was successful.
    i have made the congifuration as mentioned on sap help. i mean "ume.notification.
    selfreg_performed = TRUE"
    but still the user not getting emails automatically.
    can any one assist me on this case.
    thanks,
    udhaya.

    Hi Michael,
    i had done the self registration and email notification successfully thanks for your help & all also for all who helped me.
    But i have a small doubt notification mail "user successfully created" going to the Guest user from administrators mail, but administrator account not getting any mail. i need to get that mail in our administrator inbox. how to get this mail.
    Please assist me.
    thanks,
    Udhaya.

  • Basic List:- Need to get data when user double click on report output

    Hi,
    My requirement is to display asset details as a report and when user double clicks on the asset details, transaction AS03 need to be opened.
    The output layout is as follows:
    Company code    800                             Asset class 111
    Asset 1 ................
    Asset 2.................
    Asset 3.................
    Company code    900                             Asset class 111
    Asset 1 ................
    Asset 2.................
    Asset 3.................
    when user double click on Asset 1 of Company code 800, then transaction AS03 need to be triggerd. But when I use ATLine selection. I only get the Asset1....details in the sy-lisel. But I need Company code for triggering the AS03 transaction.
    Please let me know any way of getting company code along with the Asset 1 ......
    Regards
    Suresh Kumar

    Hi,
    Herewith i am sending the sample coding for the report.
    REPORT YMS_INTERTESTALV .
    TYPE-POOLS: slis.
    DATA: BEGIN OF itab1 OCCURS 0,
    vbeln TYPE vbeln,
    bstnk TYPE vbak-bstnk,
    erdat TYPE vbak-erdat,
    kunnr TYPE vbak-kunnr,
    END OF itab1.
    DATA: BEGIN OF itab2 OCCURS 0,
    vbeln TYPE vbeln,
    matnr TYPE vbap-matnr,
    netpr TYPE vbap-netpr,
    kwmeng TYPE vbap-kwmeng,
    END OF itab2.
    DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.
    DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.
    DATA: v_repid TYPE syrepid.
    v_repid = sy-repid.
    Get the fieldcatalog1
    PERFORM get_fieldcat1.
    Get the fieldcatalog2
    PERFORM get_fieldcat2.
    SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS
    INTO TABLE itab1
    FROM vbak.
    IF NOT itab1[] IS INITIAL.
      SELECT vbeln matnr netpr kwmeng
      INTO TABLE itab2
      FROM vbap
      FOR ALL ENTRIES IN itab1
      WHERE vbeln = itab1-vbeln.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
         EXPORTING
              i_callback_program      = v_repid
              i_callback_user_command = 'DISPLAY_DETAIL'
              it_fieldcat             = t_fieldcatalog1
         TABLES
              t_outtab                = itab1.
    FORM display_detail *
    --> UCOMM *
    --> SELFIELD *
    FORM display_detail USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
      DATA: itab2_temp LIKE itab2 OCCURS 0 WITH HEADER LINE.
      IF ucomm = '&IC1'.
        READ TABLE itab1 INDEX selfield-tabindex.
        IF sy-subrc = 0.
          LOOP AT itab2 WHERE vbeln = itab1-vbeln.
            MOVE itab2 TO itab2_temp.
            APPEND itab2_temp.
          ENDLOOP.
          CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
               EXPORTING
                    i_callback_program = v_repid
                    it_fieldcat        = t_fieldcatalog2
               TABLES
                    t_outtab           = itab2_temp.
        ENDIF.
      ENDIF.
    ENDFORM.
    FORM GET_FIELDCAT1 *
    FORM get_fieldcat1.
      DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
      s_fieldcatalog-col_pos = '1'.
      s_fieldcatalog-fieldname = 'VBELN'.
      s_fieldcatalog-tabname = 'ITAB1'.
      s_fieldcatalog-rollname = 'VBELN'.
      s_fieldcatalog-hotspot = 'X'.
      APPEND s_fieldcatalog TO t_fieldcatalog1.
      CLEAR s_fieldcatalog.
      s_fieldcatalog-col_pos = '2'.
      s_fieldcatalog-fieldname = 'BSTNK'.
      s_fieldcatalog-tabname = 'ITAB1'.
      s_fieldcatalog-rollname = 'BSTNK'.
      APPEND s_fieldcatalog TO t_fieldcatalog1.
      CLEAR s_fieldcatalog.
      s_fieldcatalog-col_pos = '3'.
      s_fieldcatalog-fieldname = 'ERDAT'.
      s_fieldcatalog-tabname = 'ITAB1'.
      s_fieldcatalog-rollname = 'ERDAT'.
      APPEND s_fieldcatalog TO t_fieldcatalog1.
      CLEAR s_fieldcatalog.
      s_fieldcatalog-col_pos = '4'.
      s_fieldcatalog-fieldname = 'KUNNR'.
      s_fieldcatalog-tabname = 'ITAB1'.
      s_fieldcatalog-rollname = 'KUNNR'.
      APPEND s_fieldcatalog TO t_fieldcatalog1.
      CLEAR s_fieldcatalog.
    ENDFORM.
    FORM GET_FIELDCAT2 *
    FORM get_fieldcat2.
      DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
      s_fieldcatalog-col_pos = '1'.
      s_fieldcatalog-fieldname = 'VBELN'.
      s_fieldcatalog-tabname = 'ITAB2'.
      s_fieldcatalog-rollname = 'VBELN'.
      APPEND s_fieldcatalog TO t_fieldcatalog2.
      CLEAR s_fieldcatalog.
      s_fieldcatalog-col_pos = '2'.
      s_fieldcatalog-fieldname = 'MATNR'.
      s_fieldcatalog-tabname = 'ITAB2'.
      s_fieldcatalog-rollname = 'MATNR'.
      APPEND s_fieldcatalog TO t_fieldcatalog2.
      CLEAR s_fieldcatalog.
      s_fieldcatalog-col_pos = '3'.
      s_fieldcatalog-fieldname = 'NETPR'.
      s_fieldcatalog-tabname = 'ITAB2'.
      s_fieldcatalog-rollname = 'NETPR'.
      APPEND s_fieldcatalog TO t_fieldcatalog2.
      CLEAR s_fieldcatalog.
      s_fieldcatalog-col_pos = '4'.
      s_fieldcatalog-fieldname = 'KWMENG'.
      s_fieldcatalog-tabname = 'ITAB2'.
      s_fieldcatalog-rollname = 'KWMENG'.
      APPEND s_fieldcatalog TO t_fieldcatalog2.
      CLEAR s_fieldcatalog.
    ENDFORM.
    Thanks,
    Shankar

  • Concurrent Error Alert Need to send mail

    Hi Everybody,
    My Requirement:_
    if any concurrent program completed with error, it need to send an mail alert notification to the users.
    My Environment:_
    OS : OEL4U5
    DB : 9.2.0.8
    Apps Version : 11.5.10.2 (with ATG RUP 7)
    Steps i have done:
    1) OS level Mailer configured and am able to send a mail.
    2) From the application level regarding workflow notification all the services are up and running and am able the receive test mail from application to my mailer account.
    Issue:
    For alert configuration i referred this mention meta-link id *"How To Send A Notification For A Failed Concurrent Request [ID 730657.1]"*
    But for me it showing an error in alerts *"System Alerts are disabled because of following: Logging is disabled"*
    for this log disabled issue i referred this doc but in my case its not worked *"System alerts in OAM are disabled because of the following:Logging is disabled [ID 455937.1"*
    Kindly suggest me to step forward
    Regards
    Athish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi ,
    Now am able to receive the error concurrent alert to the user mail perodically.
    Referred Metalink Doc:
    How to send a Concurrent Program Error Exception Report as a notification to users using Alerts [*ID 396756.1*].
    Issue Currently Facing:_
    If i run the Periodic Alert Scheduler concurret program in alert manager manually am able to receive the error concurret report with log file to the user mail id.
    At the same time if i schedule this Periodic Alert Scheduler concurret program for every *10 minutes* am not receving any error concurrent report and logfile to user mail id.
    Kindly Suggest me i need to schedule this Periodic Alert Scheduler concurret program perodically for every 10 minutes at the mean time error report mail need to receive for users mail id.
    Regards
    Athish.
    Edited by: Athish on Mar 20, 2012 6:04 AM

  • Need to send mail from Microsoft Exchange 2007 account(different from Gmail) on behalf of another Gmail ID. How to configure that ?

    I have a Gmail ID (e.g [email protected])
    I have a Exchange ID (e.g  [email protected])
    I need to configure exchange account (2007)  such that I can send a mail from my Exchange account but at the receiver end it looks like it was sent from  ([email protected]).
    Both the accounts are my accounts.
    I need this because I do not have access to my Gmail account from place where I access the internet and I need to send the mails from my Gmail account only.

    So you want to spoof your e-mail address.
    You can make your Exchange server send as any address you want.  Just create a different mailbox with that address as the primary (reply) address.  It has to be a different account.
    However, be aware that many systems to which you send such mail to will bounce it as suspected spam because they'll detect that your server is sending mail from Gmail but your server is not Gmail.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Need  to send mail  thro procedure

    Hi ,
    I need to send a mail when a procedure fails .I was trying to use utl_smtp package . i just took a sample code available and was trying to work with it as thi s is first time iam using this package .iam getting a error ora-29278.Could u please tell me what is this error , how correct it .Could u please what are things i would need to write a procedure to send mail

    procedure to mail

Maybe you are looking for