Email Notification Messages

Hi I have my 5s and am having difficulty with how I am view notifications when I receive an email message. 
When I have my email notifications set to "Off" for Show Preview, this is what I see.  An email from the person but no subject.
When I then set preview to "On" I get the whole entire email with the subject, text, etc.  While my example of the email is small, I have had longer emails where then the white box is larger because it will show as much text as possible until the box fills up the screen.  Is there a way to somewhere be in the middle of this where it at least shows the subject when preview is off?

My understanding is that setting is just how much of it shows in your actual inbox on the phone.  Also, the Preview setting is under Notifications and not under the Mail so that seems to be where the issue eminates from

Similar Messages

  • N900: Email Notification Message on Dashboard

    Hey,
    how can I make the yellow email or missed call notification message stay on the N900 desktop and not fade out after
    2 seconds??
    Thanks 

    Has anybody found a suitable answer to this?
    I also find it slightly annoying that the notification can only really be caught if you happen to be staring at the screen at the time the message comes in.
    What I would like is for the large envelope to be displayed immediately when I unlock the n900 again and not have to click on the glowing menu button first. That way, there is no chance of missing what may or may not be an important message. You can either click on the message to open it up and reply, or click outside of the envelope to go back to your desktop and ignore it - exactly as you currently do AFTER clicking on the glowing menu (which I have often missed when unlocking my n900).
    Any other phone device (lets not let this start a debate about whether its a phone or not please) displays a fixed notification until it is acknowledged (either read or ignored).

  • Unwanted 'New Email' notification on home screen

    Havin read some of the posts on this board concerning email notification messages, i went to
    menu-tools-settings-general-personalisation-homesc​reen-mode settings-homescreen applications-enabledapplications, and unticked both email1 and email2 notifications, and yet I still get the message every time I recieve an email on the mail for exchange.
    any suggestions?
    also it does seem pretty absurd the setttings are buried away in these menus to such an extent you have to look it up online to sort the navigation...

    I agree with you. The Nokia Messaging gives you the push mail, but the notification on the phone is poor. You have to open the Nokia Mail app on the 5800 to see the message. Without V30 if new mail arrives and you miss the beep there is no indication from the home screen of new mail.
    Even with V30 unfortunately you can only see the most recent email that has arrived on the home screen- and for some reason it still shows it as unopened once you've read it i.e. the closed envelope rather then opened.
    FYI- you can turn the email notification on the home screen off.
    I'm still amazed that there isn't a unified app that brings SMS, Mail, Chat etc all into the same window. So you only have to check in one place for incoming communication. Maybe there's a third party solution out there??
    Maybe one of the other Nokia phones has this, E72?

  • How to provide hyperlink for CSN message in email notification

    Hi,
    I have the following requirement, could anyone provide some ideas/solution on this.
    We integrated Change Notification Service to portal as transaction iView. once the CSN is raised and assigned to resopnsible person, the message will be notified through email. The requirement is in the email notification a hyperlink should be provided so that on clicking on the link it should open the page with respective CSN message.
    Could any one provide solution how to achieve this?
    Thanks in advance.
    Regards,
    Ravi.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • Variable to get instance failure error message in Email Notification

    Hi All,
    I  send email notifications on insatnce failure of Scheduled reports by configuring notification option in CMC.
    I would like to send the Error message for insatnce failure in the message content.
    Is there any way to achieve this ?Any dynamic system variable like %SI_STARTTIME%  available for this  ?
    I am looking for error message as we see when click status in Instance History of a report.
    "Error Message: The date for the prompt 'Enter Issue Start Date:' is invalid. (WIS 10706)  "
    Thanks in Advance
    Bilahari

    Hi Bilahari,
    It is not possible at present with the product as it stands out of the XI3.1 or BI4.0 to email the error message with the schedule email notification.
    I would suggest that you log this requirement in the SAP Ideas Place:
    Idea Place (https://ideas.sap.com) allows customers to log Enhancement request themselves without the need to contact Support and work more closely with Product Management.
    Here your idea can be evaluated by other customers and voted upon, prior to our Product Group organization deciding on the idea as a possible enhancement.
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • I can't turn my email or message notifications off.  I have used the off settings, but still no luck?

    I can't turn my email or message notifications off.  I have used the off settings, but still no luck?

    Are you talking about turning off the alert sound when you receive messages and email?  If so, go to Settings>Sounds>New Mail>scroll to the top and choose None.  Do the same for Text Tone.

  • Can we change the cryptic MESSAGE column in email notifications?

    Hello,
    Is there any way to control the way the cryptic message column (which is the logic behind the business rule) shows up in email notifications. A message such  "IF AND true THEN Valid" does not mean much to users? Am I missing something?
    Jim

    The message format is controlled by style sheets stored as text values in mdm.tblSystemSetting.
    This query will show you the values in the MDS database:
    SELECT
    SettingValue
    FROM [mdm].[tblSystemSetting]
    WHERE SettingName
    IN ('ValidationIssueHTML',
    'ValidationIssueText')
    One is for HTML email formats and one is for plain text.  If you know how to interpret the XML style sheets, you could try changing these values as desired.  Careful!
    Val Lovicz
    http://www.profisee.com
    [email protected]
    As the original creators of Microsoft MDS, Profisee's Master Data Maestro provides a range of enterprise-grade functionality to ensure MDS project success.

  • My iPad Air has its screen unlit since yesterday though I can hear messages/emails notification. The wake-up button seems not to have any effect.

    My iPad Air has its screen unlit since yesterday though messages/emails notifications are heard. The wake-up button seems not to have any effect. What should I do?

    Press and hold both the home and power buttons 10-15 seconds till the Apple logo appears. Release both buttons. Wait 15-20 seconds till your iPad starts on it's own.

  • Nokia E72 = No email new messages notifications

    I have setup Gmail email account on my E72 through nokia messaging. There are NO notifications whatsoever for this accounts - no flashing lights, no email icon on the bottom of the screen, no sound, ..etc. Only on the home screen Gmail showing unread messages.
    I've tried all things to get this fixed,
    -I've email notifications set in modes and email alert tone selected in profile
    -Also in Control panel->settings->General->Personalization->Notifications lights-> events notified, has New email checked
    -Synchronization I have: synchronize new updates->"on" , weekday and weekend synchronization -> "On all day" , synchronization interval -> "1 day" , timed synchronization->"on" and synchronization "always enabled", server name is "em1x-198.lhr.messaging.nokia.com"
    -I've updated the phone software, still not notifications, I've the SMS notifications working correctly but not the email new message.
    Don't know what's wrong or what can be missing.
    Even on an old 6120 i had email notifications on the home screen working correctly.
    Please if anybody had this issue and solved it update me asap and thanks for you time .
    I've contacted the Nokia careline, they told me to remove/recreate my email account from both my phone and http://email.nokia.com, i did and after that they sent me a Dummy settings ( enable " Email alert tone " and "Vibrating alert" which i had it already set , but I've noticed that today in morning I've got the new messages notifications working for about 10 hours then after I've used to plug the phone to my pc using the USB cable, notification stopped and cant' get it working again till now, even after I've restarted the phone and disconnected/reconnected the mail account. Don't know what's really wrong. 
    Also i don't know which Nokia messaging version I'm using  cause they've mentioned another settings for version 3.0
    Below are my phone's software version:
    051.018  , Model : E72-1 , Type RM-530 and last update 22/9/2010
    Kind regards.

    there has been numerous threads on this ,i found resetting device worked ,back up your data and type in )#7370# security code is 12345
    this worked for me ,you would have to set up everything again though
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • How do I stop emails Bounced message notifications? Have already deleted all emails.

    How do I stop emails bounced message notifications?

    I don't believe there is a way, because the server is going to continue to retry sending the messages until a time out happens.  Once the time out passes, you will no longer receive the bounced email messages.

  • Procedures and Email Notifications

    boldEN*bold*
    Hi everyone!!
    In my BPM development, i'm trying to automatize the email notifications, based on due process periods. Also, I need to inform, based on the delay, some other participants that escalates the alarm message.
    Is it possible to do it using an "E-Mail Notification" component that can be reused during all the process, even that the interval conditions and informed users varies upon each activity.
    Is there another way to solve it?
    Thanks
    boldSP:*bold*
    Saludos a todos!
    En mi desarrollo BPM requiero automatizar el proceso de envio de email, al caducar ciertas actividades. Basado en ello, el tiempo de caducidad varia de acuerdo a cada actividad y al usuario, ya que varian tanto los intervalos de aviso, como los correos y su escalamiento en caso de demoras mayores a lo solicitado.
    Pienso que es posible tomar un procedimiento especializado que permita ser reutilizado en este y otros proyectos, a pesar de que requiera parametrizar tanto los usuarios "base" y "escalados", como los intervalos de alarmas, durante el proceso.
    ¿ Existe otra forma de realizarlo?
    Gracias,

    I think I understand what you're after. I think you want to use the same escalation logic for all of your processes and instead of embedding this in every process you want something reusable. If this is not the case, read no further.
    While you can do this, there are still going to be 5 things each process would still need to have inside of them:
    <li> your process would need to set the "deadline" predefined variable to the intial timeout (2 hours in the future in your example)
    <li> your process would need an Exeption Handler needs to be added with an Exception transition set to "Instance Expiration"
    <li> your process would need an Integer instance variable "alertLevel" to keep track of the current level
    <li> your process would need a String instance variable "currentlyAssignedTo" to keep track of who's supervisor you want to notify
    <li> your process would need an Automatic activity with one line of logic inside it.
    You could have the Exception transition leaving the Exception Handler activity go to a subprocess using a Subflow activity. This subprocess would send the emails, determine the new deadline interval, determine the new priority of the instance, look up the currently assigned user, manager and supervisor's email addresses and send the email(s). The subflow would have two input argument variables (alertLevelArg and currentlyAssignedToArg). In the Begin activity, these arguments would be mapped to corresponding instance variables. Inside this subprocess there would be an automatic with the logic to send the email to the user / manager / supervisor based on the alertLevel instance variable. This subprocess would pass back out through its output argument variables the new alertLevelArg, and new deadline (a time argument variable set to some time in the future based on the new alert's level).
    Once the instance in the called subprocess completes, the output arguments need to be mapped to the original process's "alertLevel" and "deadline" variable. From the Subflow activity, you'd have an unconditional activity that flows into an Automatic activity via an unconditional transition. This automatic activity would have the single line of logic "action = BACK" so the instance is sent back from the Exception Hanldler's flow back to the activity inside the process it was in when the Instance Expiration exception occurred.
    Avoid hard coding the values of "2" and "5" and "8" for the number of hours to have elapse inside your logic. Instead make them business parameters capable of being edited by an business owner.
    Dan

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

  • Email notification error...

    Hi All,
    I have created new procedure for email notification. When i execute the procedure email is triggered but in the email body it gives error message as mentioned below. Actually its not error message it outputs the code.
    CREATE OR REPLACE Procedure PROC_STATUS_MAIL_TEST
    IS
          l_ana_report  VARCHAR2(32767); --empty_clob; --clob :=
          l_header VARCHAR2(1000);
          l_footer VARCHAR2(200);
          cnxn UTL_SMTP.connection;
    BEGIN
               l_ana_report := '<style type="text/css">
        <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
        <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
        <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
        </style>
        <center><b><font face="Arial">Ana Run Summary Report '
                    || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI AM') || '<br><br></font></b></center>'
                    || ' <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div>'
                    || '<span style="font-size: 10pt; font-family: Arial"> </span> '
                    || '<tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>'
                    || 'Ana</b></td><td align="center"><font size="3"> <b>'
                    || 'Start Time</b></td><td align="center"><font size="3"> <b>'
                    || 'End Time</b></td><td align="center"><font size="3"> <b>'
                    || 'Run Duration (mins)</b></td><td align="center"><font size="3"> <b>'        
                    || 'Status</b></font></td></tr> ' || UTL_TCP.CRLF;
                    FOR curr_refresh IN (SELECT AN.ANA_ID,AN.NAME ANA_NAME,ARH.RUN_START_TIME START_TIME,ARH.RUN_END_TIME END_TIME,
                                         ROUND(((ARH.RUN_END_TIME-ARH.RUN_START_TIME)*24*60),2) RUN_TIME_SECS,ARH.JOB_STATUS STATUS
                                         FROM
                                         RUN_HISTORY ARH,ANA AN,
                                              (SELECT ANA_ID FROM ANA_SELECTED_DATA_TYPES
                                               WHERE DATA_TYPE_ID IN (SELECT DATA_TYPE_ID FROM DATA_TYPE_LU
                                               WHERE IND IN ('P','L'))) ADT
                                          WHERE
                                         ARH.ANA_ID=ADT.ANA_ID
                                         AND AN.ANA_ID=ARH.ANA_ID
                                         AND ARH.RUN_START_TIME>TO_DATE(SYSDATE-20)
                                         ORDER BY ARH.RUN_START_TIME DESC)  LOOP  
               l_ana_report  := l_ana_report ||
               '<tr><td align="center">'|| curr_refresh.ana_name                 
                  || '</td><td align="center">' || curr_refresh.start_time || '</td><td align="center">'
                  || curr_refresh.end_time || '</td><td align="center">'|| curr_refresh.RUN_TIME_SECS ||
                  '</td><td align="center">'|| curr_refresh.STATUS ||
                  '</td> </tr>' || UTL_TCP.CRLF;
                   exit when length (l_ana_report) > 32500;  
          END LOOP;
           l_ana_report := l_ana_report || '</table><br><br>';
        --   l_body := UTL_TCP.CRLF ||
        --   UTL_TCP.CRLF || l_ana_report;
        --   l_footer := UTL_TCP.CRLF || '--' || K_BOUNDARY || '--' || UTL_TCP.CRLF;
         l_footer := UTL_TCP.CRLF ||
         '<b> Note: This is an auto generated email. Please do not reply to it. Contact the IT team for any further information.</b>'||  UTL_TCP.CRLF;
                FOR curr_email IN (SELECT global_name instance_name,
                REU.EMAIL_USER_LAST_NAME last_name,
                REU.EMAIL_USER_FIRST_NAME first_name,
                REU.EMAIL_USER_EMAIL_ID,
                '[email protected]' mail_from
                                 FROM EMAIL_USER REU,EMAIL_GROUP REG,GLOBAL_NAME
                                             WHERE REU.EMAIL_GROUP_ID = REG.EMAIL_GROUP_ID
                                                   AND REG.EMAIL_GROUP_NAME = 'Business'                                           
                                  ) LOOP
                cnxn := UTL_SMTP.open_connection('smtprelay.aceins.com', 25);
                UTL_SMTP.helo(cnxn, 'smtprelay.aceins.com');
                UTL_SMTP.mail(cnxn, '[email protected]');
                UTL_SMTP.rcpt(cnxn, curr_email.EMAIL_USER_EMAIL_ID);
            l_header := 'MIME-Version: 1.0'||'
            To: ' || curr_email.last_name || ' <' || curr_email.EMAIL_USER_EMAIL_ID || '>
            From: ' || curr_email.mail_from || '
            Subject: Ana Run Status Report for ' || curr_email.instance_name || ' on ' || to_char(sysdate, 'DD-MON-YYYY') || '
            Reply-To: [email protected]
            Content-Type: text/html;' || UTL_TCP.CRLF || UTL_TCP.CRLF;
          -- l_email := UTL_TCP.CRLF || l_header || l_ana_report || l_footer;
                UTL_SMTP.data(cnxn, l_header || l_ana_report || l_footer);                   
                UTL_SMTP.quit(cnxn);
                DBMS_OUTPUT.put_line('mail sent to ' || curr_email.EMAIL_USER_EMAIL_ID);
          END LOOP;
    END PROC_STATUS_MAIL_TEST;Email body:-
    <style type="text/css">
    <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
    <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
    <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
    </style>
    <center><b><font face="Arial">Ana Run Summary Report 29-JUL-2011 01:22 PM<br><br></font></b></center> <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div><span style="font-size: 10pt; font-family: Arial"> </span> <tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>Analysis</b></td><td align="center"><font size="3"> <b>Start Time</b></td><td align="center"><font size="3"> <b>End Time</b></td><td align="center"><font size="3"> <b>Run Duration (mins)</b></td><td align="center"><font size="3"> <b>Status</b></font></td></tr> <tr><td align="center">PCSUM CE US</td><td align="center">28-JUL-11</td><td align="cente ...... and so on
    Can anyone please guide me if anything wrong with syntax or code. I checked on google but couldnt get, still googling out.
    Regards,
    Sunny
    Edited by: k_17 on Aug 1, 2011 2:41 PM

    The below is mesage it displays in the body where as it should appear as html page. Three days back it had worked proper but off sudden it changed. The code is same.
    <style type="text/css">
        <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
        <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
        <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
        </style>
        <center><b><font face="Arial">Analysis Run Summary Report 29-JUL-2011 01:22 PM<br><br></font></b></center> <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div><span style="font-size: 10pt; font-family: Arial"> </span> <tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>Analysis</b></td><td align="center"><font size="3"> <b>Start Time</b></td><td align="center"><font size="3"> <b>End Time</b></td><td align="center"><font size="3"> <b>Run Duration (mins)</b></td><td align="center"><font size="3"> <b>Status</b></font></td></tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">28-JUL-11</td><td align="center">28-JUL-11</td><td align="center">11.62</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">28-JUL-11</td><td align="center">28-JUL-11</td><td align="center">11.62</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">28-JUL-11</td><td align="center">28-JUL-11</td><td align="center">11.62</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">9.1</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">9.1</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">9.1</td><td align="center">Completed</td> </tr> <tr><td align="center">Australia Ledger LG (EP,IL&ALAE,PL&ALAE)</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">13.1</td><td align="center">Completed</td> </tr> <tr><td align="center">Australia Ledger LG (EP,IL&ALAE,PL&ALAE)</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">13.1</td><td align="center">Completed</td> </tr> <tr><td align="center">Australia Ledger LG (EP,IL&ALAE,PL&ALAE)</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">13.1</td><td align="center">Completed</td> </tr> <tr><td align="center">Australia Ledger LG (EP,IL&ALAE,PL&ALAE)</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">13.1</td><td align="center">Completed</td> </tr> <tr><td align="center">Australia Ledger LG (EP,IL&ALAE,PL&ALAE)</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">13.1</td><td align="center">Completed</td> </tr> <tr><td align="center">Australia Ledger LG (EP,IL&ALAE,PL&ALAE)</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">13.1</td><td align="center">Completed</td> </tr> <tr><td align="center">Australia Ledger LG (EP,IL&ALAE,PL&ALAE)</td><td align="center">22-JUL-11</td><td align="center">22-JUL-11</td><td align="center">13.1</td><td align="center">Completed</td> </tr> <tr><td align="center">xAdhoc LM - Energy Sweden AY NoF LL</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">2.42</td><td align="center">Completed</td> </tr> <tr><td align="center">xAdhoc LM - Energy Sweden AY NoF LL</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">2.42</td><td align="center">Completed</td> </tr> <tr><td align="center">xAdhoc LM - Energy Sweden AY NoF LL</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">2.42</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">22.17</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">22.17</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">22.17</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">10.97</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">10.97</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">10.97</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">10.53</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">10.53</td><td align="center">Completed</td> </tr> <tr><td align="center">1PCSUMM1 CE LG PreCat US$-TEST</td><td align="center">19-JUL-11</td><td align="center">19-JUL-11</td><td align="center">10.53</td><td align="center">Completed</td> </tr> <tr><td align="center">xAdhoc LM - Energy Sweden AY NoF LL</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">.9</td><td align="center">Completed</td> </tr> <tr><td align="center">xAdhoc LM - Energy Sweden AY NoF LL</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">.9</td><td align="center">Completed</td> </tr> <tr><td align="center">xAdhoc LM - Energy Sweden AY NoF LL</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">.9</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">18.7</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">18.7</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">18.7</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">28.78</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">28.78</td><td align="center">Completed</td> </tr> <tr><td align="center">PCSUMM4 CE PreXL A&H Total US$ - Viewer</td><td align="center">12-JUL-11</td><td align="center">12-JUL-11</td><td align="center">28.78</td><td align="center">Completed</td> </tr> </table><br><br> <b> Note: This is an auto generated email. Please do not reply to it. Contact the IT team for any further information.</b>Regards,
    Sunny

  • Text/Email notifications won't clear

    I was having issues with my text/email notifications not clearing on the dock and was told I had to do a factory reset. So i did that and I was still having the problem after i set my phone up again. I found that once I went into the Developer Options and chose the option "Do not keep Activities," so I unchecked that box and it fixed the problem once i got a new message or restarted the phone and haven't had that problem since.

    I don't have all the things that you list.
    I have:
    Actions
         Receive email notifications (or not)----which I chose & hope that that works.
         Bookmark this
    I have already checked 'no' to all emails, which is NOT what I want. If there are more comments to my questions, I would like to see them, but there is no option for that. I have 2349 emails, certainly not related to MY question.  (And I am NOT shouting... trying to make a point.
    How can I keep up with what is going on in the Apple Support Community if I say NO to all of the emails?
    And why can't we copy or cut & paste here????? If one copies or cuts it won't allow paste. It gives only options ot insert links & such???
    How do you people keep up with this community IF you don't get a gazillion emails?
    Thanks.

Maybe you are looking for

  • ALBPM 5.7 BPM process admin issues with Oracle 11g RAC as directory service

    Hi, Setup ALBPM 5.7 enterprise for weblogic. BPM Engine deployed on weblogic cluster. BPM process admin (web console) deployed on tomcat. BPM process admin uses WEB-INF/directory.properties for directory configuration. things were fine with oracle SI

  • Merged folders doesn't work = only dots

    Hello, When start Thunderbird (latest version), all messages are in the merged folder "Mailbox In" Once I go with the cursor over all the text disappears and there remain only about dots. How do I fix that? greeting Giel

  • Quarry in Transportation

    Dear All, Please guide me on following configurations in TRANSPORTATION: Q1. How to configure Tracking of the goods movement by LR? Purpose: a)Delays in dispatch by LR to be tracked         b) Pilferage to be tracked by LR Q2. How to do Freight accou

  • Compiler warning with Collections.sort() method

    Hi, I am sorting a Vector that contains CardTiles objects. CardTiles is a class that extends JButton and implements Comparable. The code works fine but i get the following warning after compilation. Note: DeckOfCards.java uses unchecked or unsafe ope

  • How to edit the default OVS?

    Hi, is there a way to edit the default OVS in Web Dynpro Java? Where can I find this object and is it possible to change the layout of it through NWDI? Thanks, Edwin