Sending email notification  using email template in OIM 11g

HI all
I want to send an email to the user in OIM 11 g using API's
I have created a email template using oim 11g's design console.
now i want to access that email template from design console and send mail to user.
previously in OIM 9i there was class com.thortech.xl.dataobj.util.tcEmailNotificationUtil;
which was having utilities method like send-email etc.where we were able to access the email template from design console and send mail to user.
I want such API's to send mail to user in OIM 11g.Iam unable to find the tcEmailNotificationUtil class in OIM 11g;
Thanks in advance
Bipin patil

Thanks kuldeep
I have one single question,.
I have gone through the 11g docs but it is not present in the oim 11g docs any reasons for it .

Similar Messages

  • Sending email to user using the notification template in OIM 11g

    Hi all
    I have created a Notification Template using web console in OIM 11g.
    Iam able to access the contents from notification template in my java code.
    But iam not able to find the correct api's to send email to user using the notification template
    (like tcEmailNotificationUtil using this class we can connect to email template created in design console and creating IT resourse we can send email to user using the method sendEmail).
    Waiting for your help and pointers
    Thanks and Regards
    Bipin patil

    Thanks GP!.
    But i have the same doubt here.
    "The Notification Event is defined through a XML file that must be loaded into MDS database." - in which path and in what name it should be.
    Because under /metadata/iam-features-notification, i couldnt see any event Xml present. I thought atleast we could see the existing OOB notification template's event xml files.
    Please let me know if you are aware.
    Thanks,
    Amudha

  • Email Notifications Using Macro's

    Hi Experts
    What is the prerequesite for Sending email notifications using Macros in the APO DP & SNP, as we have the Document Function(Macro Element) in the Macro Builder.
    How to use Document Macro Element?
    Sai

    Hi Sai,
        We have created same macro for client requirement. Just check the following logic Take appropriate logic & apply.
    Logic:
    IF key figure 1 > ( 5% of Key figure 2 + Key figure 2) then system show warring Massage,Alert & send to Users.
    IF key figure 1 > ( 10% of Key figure 2 + Key figure 2) then system show Error Massage,Alert & send to Users.
    Macro:
    New macro
    step1: calculation : ( 1 Iterations : W 25.2008; W 25.2008 )
    Row: New macro aux. row1 ( Frm W 25.2008 ) =
    ( ( ( 5 / 100 ) *
    Row: Additional Field 2 ( Frm W 25.2008 )
    ) +
    Row: Additional Field 2 ( Frm W 25.2008 )
    Row: New macro aux. row2 ( Frm W 25.2008 ) =
    ( ( ( 10 / 100 ) *
    Row: Additional Field 2 ( Frm W 25.2008 )
    ) +
    Row: Additional Field 2 ( Frm W 25.2008 )
    step : send message : ( 1 Iterations : W 25.2008; W 25.2008 )
    IF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 ) greater than Row: New macro aux. row1 ( Frm W 25.2008 )
    IF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 ) less than Row: New macro aux. row2 ( Frm W 25.2008 )
    Information ( warning )
    MAIL WITH WARNING
    ELSEIF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 )
    greater than
    Row: New macro aux. row2 ( Frm W 25.2008 )
    Information ( error )
    MAIL WITH ERROR
    ENDIF
    ENDIF
    Hope this will help you...
    Regards
    Sujay

  • Sending warning-notifications by email (EMGC 11).

    Hi guys!
    How to make EM send WARNING-notifications via email of all monitored targets as well as CRITICAL-notifications?
    Edited by: user8886818 on 08.02.2011 21:17
    Edited by: user8886818 on 09.02.2011 1:51

    Thanks, Rob.
    I've already created some administartors which recieve critical notification by email.
    Now I need to send warning notifications to their email.
    I found one solutions. Change      Severity States for each metric in Preferences by adding Warning status to notificate. But it takes too much time...
    Edited by: user8886818 on 09.02.2011 2:34

  • How to polulate data from lookup using request dataset in OIM 11g

    Hi,
    Using Request dataset in OIM 11g, I need to display one dropdown with the roles those need to come from Lookup.
    For Ex; I have 2 resources,i.e Resource A and Resource B. Resource A has 5 roles and Resource B has 3 Roles.
    While creating a request, If I select Resource A, then I should be able to get 5 Roles and if I select Resource B then I should be able to see corresponding 3 roles.
    Pls. note I have only one Look up definition , where I have roles for both Resource A and B.
    I have done simillar thing in OIM 10g , however I am unable to do it using OIM 11g Request dataset.
    Pls suggest.

    Hi BB,
    I am trying to follow up your response.
    You are suggestng to use prepopulate adapter for to populate respource object name, that means We have to just use an sql query from obj tabke to get the resource object name. right ?? it could be like below, what should I have entity-type value here ??
    <AttributeReference name="Field1" attr-ref="act_key"
    available-in-bulk="false" type="Long" length="20" widget="ENTITY" required="true"
    entity-type="????"/>
    <PrePopulationAdapter name="prepopulateResurceObject"
    classname="my.sample.package.prepopulateResurceObject" />
    </AttributeReference>
    <AttributeReference name="Field2" attr-ref="Field2" type="String" length="256" widget="lookup-query"
    available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku
    where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.xxx.BO.Field2'
    and instr(lkv_encoded,concat('$Form data.Field1', '~'))>0" display-field="Description" save-field="Value" />
    </AttributeReference>
    Then I need think about the 'Lookup.xxx.BO.Field2' format.
    Could you please let me know if my understanding is correct?? What is the entity-type value of the first attribute reference value?
    Thanks for your all help.

  • How to add custom text in template page - OIM 11g R1

    Does anyone let me know how add custom text in one of the 'Request Templates' page - OIM 11G R1.  My requirement is to add custom static text in 'Role' selection page.
    - Kalyan.

    Does anyone let me know how add custom text in one of the 'Request Templates' page - OIM 11G R1.  My requirement is to add custom static text in 'Role' selection page.
    - Kalyan.

  • Cannot Send Email Notification Using Stored Procedure.

    Hi Friends,
    I tried to execute this job scheduler...
    begin
    dbms_scheduler.create_job(
    job_name => 'ILMS_JOB_SCHEDULE'
    ,job_type => 'PLSQL_BLOCK'
    ,job_action => 'begin ilms.check_reminder(); end; '
    ,start_date => SYSTIMESTAMP
    ,repeat_interval => 'FREQ=DAILY'
    ,enabled => TRUE
         ,end_date => NULL
    ,comments => 'Ilms job schedule for notification.');
    end;
    However, since the effect is too long I rescheduled the frequency to be every one minute in this set attribute...
    BEGIN
    DBMS_SCHEDULER.SET_ATTRIBUTE(
              name => 'ILMS_JOB_SCHEDULE'
              ,attribute => 'repeat_interval'
              ,value => 'FREQ=MINUTELY;INTERVAL=1'
    DBMS_SCHEDULER.DISABLE('ILMS_JOB_SCHEDULE');
    DBMS_SCHEDULER.ENABLE('ILMS_JOB_SCHEDULE');
    END;
    Check Reminder is the stored procedure invoked by job scheduler to check values in database columns before sending email notification to the respective recipients' email address and also the format of the email notification to be sent to the recipients...
    CREATE OR REPLACE PROCEDURE check_reminder AS
    NO number;
    CURSOR emp_cur is
    select * from pergerakan_ks where TASK_FLAG=7 and TASK_STATUS='InProgress';
    emp_rec emp_cur%rowtype;
    email_to varchar2(200);
    default_email varchar2(200);
    mesg varchar2(4000);
    no_kes varchar2(100);
    subj varchar2(4000);
    kpi number;
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    BEGIN
    default_email:='@abc.com.my';
    FOR emp_rec in emp_cur
    LOOP
    if emp_rec.PKS_TKH_TERIMA is null then
    dbms_output.put_line('count day ' || round(sysdate - to_date(emp_rec.pks_tkh_hantar)) || crlf || crlf);
    if round(sysdate - to_date(emp_rec.pks_tkh_hantar)) >3 then
    email_to:=emp_rec.pks_penghantar_id||default_email;
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    dbms_output.put_line('update old pergerakan pks_id : '||emp_rec.pks_id);
    update pergerakan_ks set task_status='Done' where pks_id=emp_rec.pks_id;
    dbms_output.put_line('insert new pergerakan ks : ');
    insert into pergerakan_ks(pks_id,pks_ks_id,pks_km_id,pks_penghantar_id,pks_tkh_hantar,
    pks_penerima_id,pks_tkh_terima,task_name,task_owner,task_status,task_flag,fb_id)
    values(pks_id_seq.nextval,emp_rec.pks_ks_id,emp_rec.pks_km_id,
    emp_rec.pks_penghantar_id,sysdate,
    null,
    null,emp_rec.task_name,
    emp_rec.pks_penghantar_id,
    'InProgress',6,emp_rec.fb_id);
    commit;
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    end if;
    if emp_rec.PKS_TKH_TERIMA is not null then
    dbms_output.put_line('emp_rec.pks_km_id ' || emp_rec.pks_km_id || crlf);
    select c.KM_KPI into kpi from keluar_masuk_ks c where c.KM_ID = emp_rec.pks_km_id;
    no := round(sysdate - to_date(emp_rec.pks_tkh_terima))-kpi;
    dbms_output.put_line('count day - kpi' || no || crlf);
    dbms_output.put_line('kpi ' || kpi || crlf);
    if no = 1 then
    email_to:=emp_rec.pks_penghantar_id||default_email;
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    email_to:=emp_rec.task_owner||default_email;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    e_mail_message(email_to,email_to,subj,mesg);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    if no = 3 then
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    email_to:=emp_rec.task_owner||default_email;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    end if;
    END LOOP;
    END;
    E_mail_message is the stored procedure invoked by the check_reminder to tell scheduler information of the connection and the email address of the recipients...
    CREATE OR REPLACE procedure
    e_mail_message
    from_name in varchar2,
    to_name in varchar2,
    subject in varchar2,
    message in varchar2
    is
    l_mailhost VARCHAR2(64);
    l_from VARCHAR2(64);
    l_to VARCHAR2(64);
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    l_mail_conn UTL_SMTP.connection;
    mesg VARCHAR2( 4000 );
    BEGIN
    select a.SERVER into l_mailhost from email_setting a where a.SERVER is not null;
    select a.USERNAME into l_from from email_setting a where a.SERVER is not null;
    --UTL_SMTP.open_data(l_mail_conn);
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: <'||l_from||'>' || crlf ||
    'Subject: ' ||subject|| crlf ||
    'To: '||to_name || crlf || '' || crlf ;
    mesg:=mesg||message;
    l_mail_conn := UTL_SMTP.open_connection(l_mailhost, 25);
    UTL_SMTP.helo(l_mail_conn, l_mailhost);
    UTL_SMTP.mail(l_mail_conn, l_from);
    UTL_SMTP.rcpt(l_mail_conn, to_name);
    UTL_SMTP.data(l_mail_conn, mesg);
    UTL_SMTP.quit(l_mail_conn);
    END;
    I tried to execute to execute the e_mail_message procedure but received this error. Also, no notification sent to the email address...
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 241
    ORA-06512: at "ILMS.E_MAIL_MESSAGE", line 33
    ORA-06512: at line 13
    Please help so that I can receive the email notification into my email...thanks in advance for your time..

    user13281540 wrote:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 241
    ORA-06512: at "ILMS.E_MAIL_MESSAGE", line 33
    ORA-06512: at line 13This is not an Oracle error - this is the mail server saying "+hey, I don't like that e-mail address you are supplying, I'm not accepting it!+".
    If you look at RFC821 (Request For Comments memo 821 describes the SMTP specifications), you'll see that the sender and recipient needs to be supplied in the format +<[email protected]>+, e.g. +<[email protected]>+.
    I have found that not all SMTP servers are equal in this regard. Some may insist on the brackets around the address, some may not.
    You need to confirm the format of the addresses you use in the "+MAIL FROM+" and "+RCPT TO+" commands.. and ensure that these formats are accepted by your SMTP server - and if not, change your code to use an acceptable format.
    The easiest way to do this is using telnet - and interacting directly and manually with the server. SMTP is a clear text protocol and easy to use manually. Try it. It is the best way to test SMTP interaction and validate the approach and SMTP commands and arguments used by your code.

  • Send email notification after unlock account in OIM 11gr2

    Hi,
    there is OOTB email notification is availabe for sending email notification after unlock aacount.
    could anyone please provide a way to do that...

    any suggestion...

  • Automated report email notification using SCCM 2012

    For SCCM mail notification using Office365 exchange.
    Is smtp rely required.. Please suggest and provide link 

    duplicate thread.you have also asked the same question here http://social.technet.microsoft.com/Forums/systemcenter/en-US/cccd6760-0416-4fed-b5df-d19fac00035f/automated-sccm-report-send-to-email-addresssccm-2012?forum=configmgrgeneral#0e84de61-c872-44fe-8544-f6b39450a44d
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • Send Email on User Account Creation in OIM 11g

    Hi All,
    We are working on email notifications for the user account creation. we followed the following procedure:
    1) Creation of email template
    2) Creation of resource object
    3) Creation of notification process
    4) Create Customer Rule
    5) Create Customers Role and Assign Rule
    6) Create Access Policy.
    After assigning AD account to the user we are getting following errors..
    1> Class/Method: tcEmailNotificationUtil/parseEmail encounter some problems: Data Access Error
    Supplemental Detail com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(tcDataSet.java:952)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(tcDataSet.java:1523)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(tcDataSet.java:903)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(tcDataSet.java:1490)
    at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.parseEmail(tcEmailNotificationUtil.java:1213)
    at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.constructEmail(tcEmailNotificationUtil.java:235)
    at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.constructEmail(tcEmailNotificationUtil.java:269)
    at com.thortech.xl.dataobj.tcScheduleItem.checkForEmailNotification(tcScheduleItem.java:3765)
    2> *Class/Method: tcEmailNotificationUtil/sendEmail encounter some problems: [EOF]*
    Supplemental Detail javax.mail.MessagingException: [EOF]
    at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
    at javax.mail.Transport.send0(Transport.java:189)
    at javax.mail.Transport.send(Transport.java:118)
    at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.sendEmail(tcEmailNotificationUtil.java:850)
    at com.thortech.xl.dataobj.tcScheduleItem.checkForEmailNotification(tcScheduleItem.java:3782)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(tcScheduleItem.java:741)
    3) And I am also getting error related to FAX like..
    select Fax from orc orc, usr usr where usr.usr_key=orc.usr_key and orc.orc_key =293
    Supplemental Detail java.sql.SQLSyntaxErrorException: ORA-00904: "FAX": invalid identifier
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:856)
    4) Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00904: "FAX": invalid identifier
    Supplemental Detail java.sql.SQLSyntaxErrorException: ORA-00904: "FAX": invalid identifier
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
    Plaese provide quick resolution to our issue..
    It will be very helpful to us.
    Thanks

    Thanks alot.I have configured this requirement.
    Regards
    A Abhinay

  • Modify Email Notifications Used in Workflow

    We are using content services with workflow and we have email notifications configured to be sent out to approvers when new document or delete requests are generated. The problem is, we are not using Oracle Mail, so the email that is generated contains links and attachments that are designed to execute in the Oracle Mail client, but do not work when opened and clicked on in our mail client.
    I have read a few posts that suggest the email contents can be edited and customized using workflow builder, but I have yet to determine how this is done, or if there is any documentation pertaining to how this accomplished.
    Anyone that can point me in the right direction? Thanks in advance!

    I tried the mentioned approach of creating a 2 step workflow which has the following steps :
    Created a criteria workflow .
    Added following steps : -Reject Notification step(Edit/reveiw Step)-- added the condition -if wfAction like reject --notify the author with the custom template else move to next step with following piece of code :
       <$if wfAction like "REJECT"$> 
      <$wfSet("wfJumpEntryNotifyOff", "1")$>    
      <$wfNotify(dDocAuthor,"user","MY_WF_REJECT_MAIL")$>     
      <$wfSet("wfJumpName", "Test")$>
      <$wfSet("wfJumpEntryNotifyOff", "1")$>
      <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
      <$else$>                            
      <$wfSet("wfJumpEntryNotifyOff", "1")$> 
      <$wfSet("wfJumpName", "Test1")$>         
      <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
      <$endif$>
                                              -Approval step-(Edit/reveiw Step)-- in this reviewer is notified for the approval.
    Now I'm stuck in --when the reviewer rejects the content both custom and OOTB mails are being sent though I have used <$wfSet("wfJumpEntryNotifyOff", "1")$> in each step.
    Now I'm not able to figure out what exactly needs to be done to suppress the OOTB notification.
    Thanks,

  • Email Notification using Gmail Server

    Hi all,
    is it possible to use a SMTP Server WITH authentication (configuring username and password) to send email notifications?
    I.e. Gmail Server.
    Thanks and regards

    for the greatest amount of control and future-proof setup, you could solve this by configuring a simple relay email server. unauthenticated requests would be sent here, and then relayed to GMail.
    However, we also released a patch to extend/override our own email service to provide authentication and other standard email configuration values.
    if you are on 6.1.0.2, you can download 6.1.0.2.13 (16315472). if you are on 6.1.0.3, you can download 6.1.0.3.2 (16738662). please check the patch list announcement for a quick link to all patches.
    This patch is not currently available in 6.1.1.0, but will be available in 6.1.1.1.
    thank you,
    -M

  • Email notification using Oracle Job

    Hi,
    I am trying to setup a email notification job using Oracle 11gR2. Per online documnetation I have done the following setup, but the email notification job is failing. If you guys have any ideas, please assist.
    Step 1:
    BEGIN
      DBMS_SCHEDULER.set_scheduler_attribute('email_server', 'oracle.kotaise.com:25');
      DBMS_SCHEDULER.set_scheduler_attribute('email_sender', '[email protected]');
    END;
    Step2:
    BEGIN
      DBMS_SCHEDULER.create_job (
        job_name        => 'email_notification_job',
        job_type        => 'PLSQL_BLOCK',
        job_action      => 'BEGIN NULL; END;',
        start_date      => SYSTIMESTAMP,
        repeat_interval => 'freq=minutely; bysecond=0',   
        enabled         => TRUE);
    END;
    Step 3:
    BEGIN
    DBMS_SCHEDULER.ADD_JOB_EMAIL_NOTIFICATION (
      job_name   =>  'email_notification_job',
      recipients =>  '[email protected]',
      sender     =>  '[email protected]',
      subject    =>  'Scheduler Job Notification-%job_owner%.%job_name%-%event_type%',
      body       =>   '%event_type% occurred at %event_timestamp%. %error_message%',
      events     =>  'JOB_FAILED, JOB_BROKEN, JOB_DISABLED, JOB_SCH_LIM_REACHED');
    END;
    Step 4:
    I have created the following  job that executes a package which executes a package "test_package.pdata". This package is not created yet, becuase I wanted to see whether the email notification is working or not. As expected the "TEST_JOB" is failed becuase of missing package. But the email notification job "'email_notification_job'", which runs every minute, failed to send an email notification.
    BEGIN
      SYS.DBMS_SCHEDULER.CREATE_JOB
           job_name        => 'test_job'
          ,start_date      => SYSTIMESTAMP
          ,repeat_interval => 'freq=minutely; bysecond=0'
          ,end_date        => NULL
          ,job_class       => 'DEFAULT_JOB_CLASS'
          ,job_type        => 'PLSQL_BLOCK'
          ,job_action      => 'BEGIN test_package.pdata; END;'
          ,comments        => NULL
          ,enabled         => TRUE
    end;
    I have queried the DBA_SCHEDULER_NOTIFICATIONS table, and I see that the email notification job did not started.
    JOB_NAME                                      RECIPIENT                     EVENT
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_FAILED
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_BROKEN
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_SCH_LIM_REACHED
    EMAIL_NOTIFICATION_JOB      [email protected]      JOB_DISABLED
    Thanks

    Hi,
    The DBA_SCHEDULER_NOTIFICATIONS show the notification settings, not the notifications that were sent. To see that, run the follwoing query:
    select queue,
           msg_state,
           enq_time,
           enq_user_id,
           deq_time,
           deq_user_id,
           t.user_data.event_type,
           t.user_data.object_owner,
           t.user_data.object_name,
           t.user_data.event_timestamp
      from sys.AQ$SCHEDULER$_EVENT_QTAB t;
    Does it show anything for your job?

  • Getting email notifications using EWS streaming notifications for a shared mail box

    Hi,
    I have been trying to get email notification for a shared mailbox using EWS streaming notifications. i am unable to get the notifications. Please can any one tell me how this task can be achieved.
    -Praveen

    I would recommend you to this link
    http://blogs.msdn.com/b/emeamsgdev/archive/2013/04/16/ews-streaming-notification-sample.aspx
    Mark Answered, if it solves your question and Vote if you found it helpful.
    Rohit Arora

  • Dpm 2012 email notification using a non-exchange smtp mail server

    Has anyone successfully been able to configure DPM 2012 to send email notifications to a standard SMTP mail server (NON-EXCHANGE)?

    Hi Happy,
    I try with IIS6 SMTP server with Anonymous Access.
    From DPM side, settings for "Authentificated SMTP Server: Username/password" :
    1- Leave blank =>ID 2013 : logon failure : unknow user name or bad password.
    2- DPMServerName\UserAccount => Works :)
    Network trace with Wireshark :
    1- Nothing => Most likely blocked by DPM console : Authentificated SMTP Server must be fill.
    2- See full SMTP connection, mail send.
    Could you do network trace to see what's happen ?
    Stephane
    Please remember to click “Mark as Answer” on the post that helps you. This posting is provided "AS IS" with no warranties. knowledge is valid only if it is shared by All.
    My DPM blog Yet Another DPM Blog

Maybe you are looking for