DFM email notification is randomly sent

Hi,
on 30 devices that are managed by LMS DFM, at least 10 of them have not generated email notifications, when their serial interface went down. In the past, they used to generate the notification correctly.
I checked the following:
- Device in Questioned state? : no , they are fully known in DFM
- Device is in notification group? : yes
- Device interface is managed under Device Detaile?: yes
Are there any logs I can check, so that I can know if it's an LMS-related issue or an email  issue?
Thanks for your help guys,
Wass

..

Similar Messages

  • LMS 3.2 DFM email notification problem

    Hi,
    I got a problem in a newly installed LMS 3.2 with the DFM email notification.
    I can see the alerts appering on Alerts&Activities, but DFM would not send any emails.
    I can get emails from other moduls of LMS. CS sends me emails from successfully backups.
    The SNMP Server works fine. The settings are ok.
    I already reinstalled DFM.
    I have seen a thread exists on supportforum.cisco.com with the same problem.
    (https://supportforums.cisco.com/message/3033101#3033101)
    Maybe anyone have the answer to this problem.
    Thanks,
    C8-Netzwerk

    This looks like an issue I am currently tracking.  I have written a patch which should correct this.  You can get the patch by opening a TAC service request, and having your engineer contact me directly.
    Please support CSC Helps Haiti
    https://supportforums.cisco.com/docs/DOC-8895
    https://supportforums.cisco.com

  • Email notifications not being sent

    Hello all -
    I have two Mac Mini Servers - both running 10.6.5
    One server is within my LAN and behind an Apple Airport Extreme which is acting as a router.
    The other server is collocated and has a direct connection to the internet. It is running the standard OS X Server firewall service to protect it.
    I am having trouble getting the second server (with the direct connection to the internet) to send out alert emails (ie - as configured through Server Admin/settings/Alerts). I receive emails from the first server just fine.
    Am assuming it is a firewall configuration issue - but I have tried turning off the firewall briefly and testing it - but it still doesn't work. The same applies to emails sent from within packages such as Joomla and Drupal (ie - new account emails)
    Any ideas anyone?
    Many thanks,
    Andrew

    Hi ClassicII
    I really needed to get this working, so I have spent the last few days frantically searching for solutions and 'think' I have got it working.
    Before I tell you how - a caveat. I am no expert by any means - so please tread carefully!
    It seems that (and please correct me if I am wrong any experts that happen to be reading this) the mail service is actually used to send the notifications. I had switched this off to test, but it seems as if it starts momentarily when needed to send the notification then shuts down if it is not used for a while.
    Therefore, the mail service does need to be configured. I don't use my server as an email server, so I only configured SMTP (not POP, nor IMAP) within mail.
    So, within server admin :
    go to the mail service for your server
    Stop the mail service.
    Settings tab - then general
    Set domain name & host name to the domain name of your server (including subdomain)
    Tick "Enable SMTP"
    Un-tick "allow incoming mail", "Hold outgoing mail", "Relay outgoing mail" etc.
    Start the mail service.
    Then give it a try! You can always type echo "Hello" | mail -s "Test" youremailaddress at a command line to test.
    Make sure your firewall is not blocking (I guess) port 25 outbound. I momentarily switched off my firewall service to test. Also, it could be that your ISP themselves block port 25 to stop people setting up mail servers.
    One thing I found (through trial and error) is that if something is not correctly set up - it may work the first few times - but then stop with an error in the log (look in the SMTP Logs from within the mail service). This led to a few false dawns - but it has been running for 40 minutes and is still going. I now receive email notifications and my Drupal sites can send mail.
    I went through a lot of trial and error / editing php.ini and main.cnf (to no avail) before getting this to work!
    Hope it helps - let me know!
    Andrew

  • Email notification is not sent to the user and admin

    Hi gurus ,
    We have a incident  that user and admin is not received the email notification to lotus notes id.other users receiving the notifications from the same application.Same user and admin  receiving mails from other applications
    SWI1 no error but in SOST there is no record of a mail sent.
    Have checked SU01 the user has an email address maintained both in ESS and R/3.
    As per config SO16 - home address is selected.
    In the profile his external email id is selected as home address.
    what should i check next to sort out the issue.
    Please help .
    Sampada .
    Edited by: Siri Sampada on Jan 15, 2011 11:11 AM

    This was a workflow issue

  • Email notification for approval sent to all managers

    Hi everybody,
    an astonishing process occurs in the workflow, a shopping cart was sent for approval, waiting for the manager linked to the requester in organizational structure to receive an email notification for approval,
    unfortunately , in certain case the email is sent to all managers even if we did a control in the badi concerning the workflow according to their role and flag is_manager in the structure.
    Is there anyway to check the flow and try to debug it to understand the way the workflow build this email notification and furthermore how the managers are selected?
    I already passes through the FM RH_GET_ACTORS, I had a look on the report RBBP_OFFLINE_EVAL.
    Thank you in advance for your suggestions.
                             Best regards Mahmoud

    Hi Manoj,
    I check this note today but it 'sounds'  good.
    There are two other notes which are interesting adding to the previews one: 764068 and 636540.
    Thank you very much for your reply.
                          Best regards Mahmoud

  • DFM Email notifications not working - HTTP status 500 error in DFM 2.0.10

    Hi All,
    I have recently upgraded...
    CiscoWorks Common Services from 3.0.5 – 3.0.6
    Campus Manager 4.0.6 – 4.0.10 - 4.0.13
    Device Fault Manager 2.0.6 – 2.0.10
    Now Email notifications stoped working, it was working fine before.
    Even when I was upgrading CM from 4.0.6 to 4.0.10, it worked fine meanwhile. After upgraded it from 4.0.10 to 4.0.13, it stoped working completely.
    Before I had same issue and resloved by creating new notification group and subscribed.
    Now when I am trying to create new notification group I am getting the below error message
    DFM-->Notification Services-->Notification Groups
    HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
    at com.cisco.nm.trx.nos.action.NGroup.perform(NGroup.java:140)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:457)
    at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:576)
    at java.lang.Thread.run(Thread.java:534)
    Apache Tomcat/4.1.29
    DFM from 2.0.6 to 2.0.10 and Campus Manager

    Hi Joe,
    Thanks for your response.
    I deleted the file at the path which you specified, no luck still I am getting the same below error message when attemption to open Notification Groups tab to create new group.
    HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         at com.cisco.nm.trx.nos.action.NGroup.perform(NGroup.java:140)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:457)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:576)
         at java.lang.Thread.run(Thread.java:534)
    Apache Tomcat/4.1.29
    Regards,
    Naidu.

  • DFM email notification setup

    Hi All,
    I have LMS 2.6 and DFM 2.0.10, configured email notification for one Subscription "INL" as sender address [email protected] to [email protected]
    Recently I have configured another Subscription "POY" for another bunch of devices as sender "[email protected]" only to [email protected]
    I am receiving mails to [email protected] but not to [email protected]
    Can someone look into this issue and tell me what needs to be done.
    Regards,
    Jopeti

    Hi,
    First thing I'd check is if you are generating alarms for "POY" in the Alerts and Activities. If they are present then I'd verify I can send email to [email protected] from the LMS server. If you can then we will need to examine some files.
    You can start troubleshooting by verifying the configuration of your second group.
    Creating a Notification Subscription
    To create a notification subscription, perform the following steps:
    1.  If you want to monitor a specific set of events, create an event set that contains the events you want to monitor. Otherwise, all events and alerts will be monitored.
    2.  Create a notification group that specifies the criteria DFM should use when generating notifications:
    One or more event sets (if no event set is specified, all events and alerts are monitored)
    Devices, alert severity and status, and event severity and status
    You can specify the notification group name, along with entering identifying information (using the Customer ID and Customer Revision fields).
    3.  Create a subscription by doing the following:
        a.  Select the notification type (SNMP Trap, E-Mail, or Syslog).
        b.  Name the subscription and apply a notification group to it.
        c.  Specify the recipients (hostname, e-mail address).
        d.  Save the subscription. It will automatically start running.
    Troubleshooting SMTP
    From the LMS server, telnet to your SMTP server on TCP port 25, and make sure you can:
    1.  Connect to the server
    2.  Issue the following command:
        HELO IP
    Where IP is the IP address of the LMS server. The mailserver should grant you access to send email.
    If that works, start a sniffer trace filtering on all tcp/25 traffic between the LMS server and the SMTP server. Generate new DFM events which should trigger email notifications, then check the sniffer trace to see what is happening.
    Thanks.

  • Email notifications to be sent to the requester

    Hi,
    We are currently implementing the ECS scenario for SRM 5.0. We have a requirement where email has to be sent to the requester to perform the confirmation 7 days after the delivery date in the PO. A second reminder has to be sent 14 days after the first email.
    To achieve this, we're using the BADI BBP_ALERTING. We've written the logic. But we're not very sure how will this get activated and how will the emails be sent. Do we have to run any job?
    If anyone has any inputs for this, pl let me know.
    Regards,
    Lakshmi

    Hi Lakshmi
    RSALERTPROC program may help you to get an alert messages depends on the alert category.
    i am searching this badi BBP_ALERTING but it did not exist in my srm 5.0 system. Any thoushts?
    Using BAdI BBP_ALERTING you can define your own events for SRM Alert Management and you can override existing (delivered) events. You can also override the standard alert categories and change the links(URLs) that the recipient uses to get to the relevant business object (document). In addition, you can use the document data to determine your own recipients.
    This BadI serves to enhance and/or vary the settings of the IMG activities under
    Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Event and Event Schema for Alert Management.
    The following methods are available:
    BBP_EVENTS_ANALYZE
    Change the standard events and define your own events
    BBP_EVENTS_CATEGORIZE
    Change the standard alert categories
    BBP_EVENTS_DET_RECIPIENTS
    Change the standard recipient
    BBP_EVENTS_DET_FOLLOW_UP_URL
    Change the links contained in the alerts/in the messages, for example, for the link to the affected document
    See also: Release Information SRM Alert Management (new)!
    Requirements
    In order to receive detailed information on documents, document status, and document items, we recommend that you use the following function modules (the document GUID is available as an import parameter in the individual methods):
    BBP_PD_ALL_GET_DIFF
    BBP_PRODOC_GETDETAIL
    regards
    Muthu

  • Email notifications not being sent - SORRY - WRONG FORUM!  PLEASE DELETE!

    Hello all -
    I have two Mac Mini Servers - both running 10.6.5
    One server is within my LAN and behind an Apple Airport Extreme which is acting as a router.
    The other server is collocated and has a direct connection to the internet. It is running the standard OS X Server firewall service to protect it.
    I am having trouble getting the second server (with the direct connection to the internet) to send out alert emails (ie - as configured through Server Admin/settings/Alerts). I receive emails from the first server just fine.
    Am assuming it is a firewall configuration issue - but I have tried turning off the firewall briefly and testing it - but it still doesn't work. The same applies to emails sent from within packages such as Joomla and Drupal (ie - new account emails)
    Any ideas anyone?
    Many thanks,
    Andrew
    Message was edited by: Andrew Davies

    My settings are fine.  I believe the issue is because there is a typo in the email address to the person I am trying to send the email to.  I am trying to open the email to correct typo but every time I try to open the email I get a message saying, "Cannot open email, email is being sent."  I also cannot delete this email either.

  • Why are my iPhone 5 email notifications randomly at full volume with iOS7.1.1 upgrade, regardless of the volume settings?

    Ever since I updated my iPhone 5 to iOS 7.1.1, my email notification ringtone randomly (but infrequently) plays at full volume instead of the assigned ringer volume setting.  My normal ringer volume is at about 50%, none one of the other notifications such as "new text message" behave this way, and this behavior only occurs once every 2 or 3 days... independent of battery charge level.  There seems to be no pattern to the issue.  I know this sounds crazy, but this did not happen with prior iOS versions on this phone.  Really annoying when I forget to silence the phone before attending meetings and the super-loud notification ringtone goes off...

    If that was in any way unclear, it seems somewhat similar to this user's scenario:
    https://discussions.apple.com/message/13059186#13059186

  • 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.

  • Cannot send email notification to more than one people

    Hi everyone,
    Hope anyone could help me to solve this. I want to send email notification to two people. First to the staff to alert him that his claim is ready. And also to his supervisor that the claim has been disbursed. Below is the PL/SQL procedure, check_claim being used..
    CREATE OR REPLACE PROCEDURE TEST.check_claim AS
    NO number;
    CURSOR emp_cur is
    select * from emp where dept=7 and status='active';
    emp_rec emp_cur%rowtype;
    email_to varchar2(200);
    default_email varchar2(200);
    mesg varchar2(4000);
    subj varchar2(4000);
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    BEGIN
    default_email:='@phantom.com';
    FOR emp_rec in emp_cur
    LOOP
    if emp_rec.claim_status ='Y' then
    email_to:=emp_rec.staff_id||default_email;
    subj:='Claim No'||emp_rec.claim_id;
    mesg:='Your claim has been disbursed. Please check.';
    email_to:=emp_rec.staff_hod||default_email;
    subj:='Claim'||emp_rec.claim_id;
    mesg:='Claim No'||emp_rec.claim_id||' has been disbursed';
    e_mail_message(email_to,email_to,subj,mesg);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    END LOOP;
    END;
    The first email_to is to be sent to staff_id and the second email_to is to be sent to staff_hod.
    The PL/SQL procedure then called the e_mail_message procedure shown below for the connection information..
    CREATE OR REPLACE procedure
    TEST.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;
    However, the email notification only being sent to the supervisor / head of department. The staff concerned does not receive any email notification. Please help. Thank you for your time...

    from wht i see
    email_to:=emp_rec.staff_id||default_email;
    subj:='Claim No'||emp_rec.claim_id;
    mesg:='Your claim has been disbursed. Please check.';
    email_to:=emp_rec.staff_hod||default_email;  -- wrongit should be
    email_to:=emp_rec.staff_id||default_email;
    subj:='Claim No'||emp_rec.claim_id;
    mesg:='Your claim has been disbursed. Please check.';
    email_to:= email_to || ' , ' ||  emp_rec.staff_hod||default_email;

  • Using Alert Framework to send email notifications when Process Chain fails

    Hi Everyone,
    I've configured ALRTCATDEF in Solution Manager, selected the alerting option for Process Chains in - RSPC > Attributes > Alerting, but it looks like whenever any process chain fails, an email notification will be sent to the same recipients.
    Is there anyway to have an ALRCATDEF - alert category for different process chains, so that different recipients receive notifications for different Process Chains.
    Thanks,
    Ken

    Interesting....I was actually hoping for different recipients for different process chains.
    E.g. for our
    CRM process chain - Support Team 1
    FI process chain - Support Team 2
    and so on and so on.
    I think the only way may be creating a custom process type and implementing a class for this process type that calls function SALRT_CREATE_API. Then adding this process type to the process chain, with a different variant for each.
    However if anyone knows a way to do this in a SAP standard way using the Alert Framework, that would be great.
    Cheers,
    Ken

  • BPM Alerts not sending email notifications

    Hello Experts,
    I've successfully configured BPM within SolMan and alerts are being generated but I'm not receiving any email notifications. In the setup of Business Process Monitoring, "Contacts" have been maintained within the Solution Directory as well as the notifications section of the monitoring type with a sender and a valid recipient address . Both yellow and red alerts are being generated but no email notifications are being sent. Thresholds have also been maintained.
    Researching other threads regarding this same issue points to tcode RZ20->SAP CCMS Technical Expert Monitors ->All Monitoring Contexts->BPM->Activate Maintanance Function-> and assiging Central auto reaction methods to MTE Class BPMRoot Context and the other BPM_APPMON_* MTE classes. Is there something that I am missing in order to have these alerts send email notifications when the alert threshold is reached?
    I also defined the new Central Auto Reaction method and maintained the parameters properly which calls FM DSWP_BPM_SEND_ALERT. Please assist as I have exhausted all options. Please provide a step by step guide to setup alert notifications if possible.
    Thanks
    Mike

    These notes might help you
    [https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=543414]
    [https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=546981]
    check the timezone settings also [https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=572608]
    regards
    Naveen

  • Email Notification of Purchase Order

    Hi Gurus
    We are on SAP 4.7 doing an MM implementation.
    We have the following requirement: We have 2 levels of PO release. When the PO is created or changed, an email notification should be sent to the person responsible for 1st release. When the 1st release is carried out, then an email notification should be sent to the person responsible for 2nd release.
    Pls advise on how to get this going.
    Thanks in advance

    Hi,
    You need to look for releasing purchasing documents with workflow.
    http://help.sap.com/saphelp_47x200/helpdata/en/1d/ea9d9c7aca11d194b70000e82dec10/frameset.htm
    Here is how the workflow works.
    http://help.sap.com/saphelp_47x200/helpdata/en/1d/ea9d9c7aca11d194b70000e82dec10/frameset.htm
    Cheers
    Arun.

Maybe you are looking for

  • Error while updating or deleting a record

    Hi to all... i have created atable group_master with 2 fields Group_id and Group_name the user will specify a group_name in a text box and press save. Before commiting a seq number will be generated inside the form procedure and it will be inserted.

  • Cannot convert parameter 1 from 'InterfacePtr IFace ' to 'const IPMUnknown *'

    Hello, I am getting this error when trying to get a interface pointer through another interface. how to solve it? Do any one have any idea? cannot convert parameter 1 from 'InterfacePtr<IFace>' to 'const IPMUnknown *'

  • Redirecting System.out/err

    Hi all, Is there an easy way to redirect the System.out/err stream to my own stream? I want to implement that everything going to System.out/err will be printed in a JTextArea instead of the console (Like JBuilder does for example). Thanks for any hi

  • How to solve this deployment issue?

    I tried to deploy the sample jspdemo project under OC4J standalone installation by running : java -jar admin.jar ormi://localhost:23791 oc4jadmin pwd -deploy -file dist\ojspdemos.ear -deploymentName ojspdemos But get the below error: java.rmi.RemoteE

  • Photos in elements 11 editor are grainy, photos in elements 11 editor are grainy

    All of a sudden, the photos that I open in the organizer to edit appear in the editing window really, really grainy.  This is a new issue. The photos look fine in the organizer, and when I open the edited version on my hard drive, they look fine...it