Oracle 9i Rel 2 - How do i need to configure EMail or mobile alert

Hi Guru's
I want to configure E- mail alert and mobile alert when the database crashes or - when some important entry or error noted with the alert log file. can any suggest me regarding this. Thanks in advance
Ravi

Hi,
unfortunately you will have more general problems. Neither 8i nor 9i is certified for Red Hat 9. The certification matrix shows support for Red Hat 7.0 and 7.1 (9i) and for Red Hat 7.0/7.1/6.x (8i). That does not necessarily mean, it won't work at all, but Oracle doesn't give any support. In general, you should prefer 9i, you have much more options. If you perform, as a first step, a standard installation, it's not harder than an 8i installation.
Good luck
Werner

Similar Messages

  • Need to configure email alerts for app/web server shutdown

    Hi,
    I need to configure email alert notification, so that whenever application server or webserver is shutdown/restarted, an email is sent to the group/userid.
    I am aware that in Peoplesoft, there is no parameter or functionality which sends an email notification whenever application server & web server restart & shutdown. This is where I need help.
    Did anyone setup the email alert notification in any of your environments? If so, please let me know how did you do the setup?
    Thanks,
    Sakky

    Please find the below sample batch program.
    this helps to start the appserver automatically and if the status fails this will send email automatically.
    This is the another way of findting the status of the app server.
    In the below program, by finding the "Done" value on the output screen we can decide if the server is running or not.
    Hope you understand this, Kindly let me know if you need further information.
    ===============================
    @echo off
    REM Set a temporary variable
    SET CONNECT
    REM Check the status of the Application server
    psadmin -c sstatus -d PSEPM | FIND "Done" > NUL
    REM If the server is down boot the server
    ERRORLEVEL 1 SET CONNECT= psadmin -c boot -d PSEPM
    %CONNECT%
    REM Check the server again for status
    psadmin -c sstatus -d PSEPM | FIND "Done" > NUL
    IF ERRORLEVEL 1 goto sendmail
    goto end
    REM Sending mail to Administrator
    :sendmail
    REM setting the path for email command
    SET CONNECT= cd D:\PT849\bin\client\winx86
    %CONNECT%
    REM Below command will send mail to the Administrator
    SET CONNECT= psemail -server < server ip> -from [email protected] -to [email protected] -subject "Server Down" -body "Hi, Server is down at this time, unable to boot."
    %CONNECT%
    :end
    ==============================
    Edited by: Soundappan on Feb 19, 2011 10:39 AM
    Edited by: Soundappan on Feb 19, 2011 10:40 AM

  • How to change the look of emails on mobile device?

    I am using elaqua mobile template. Its work good on both desktop and mobile screens, but I want to give this template a different look on mobile devices. I tried to use css media query, but Eloqua generated html codes has same class and id names.I mean, if I apply style on one class, it change the whole template. 

    Hi Hammad,
    I just went through this process and though the end result is beautiful, I'm not sure it was worth the time it took to do.
    Media Queries should work.  Here is a portion of the code I used to display the email differently on different width screens.  Note that the "important!;" bit is needed for everything to work properly.  I used a mishmosh of classes and ID's -- I'm sure that could have been cleaner.  If I recall correctly, I had to use h1[class=h1]to fix a bug with either Yahoo! or Outlook. There are some really good resources about responsive design for email at Campaign Monitor.  Search for it and you will find their whitepaper.
    <html>
    <head>
    <meta content="text/html;charset=UTF-8" http-equiv="content-type">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>Advances</title>
    <style type="text/css">
    /*Center email in Outlook*/
    body {
        text-align:center;
        font-family: Arial, Helvetica, sans-serif;
    /* Outlook table spacing fix */
    .msoFix {
          mso-table-lspace:-1pt;
          mso-table-rspace:-1pt;
          border-collapse: collapse;
          display: inline;
    /* generic stuff */
    table {
        text-align:left;
    td[class=section] {
        font-size: 12pt;;
        font-family: Arial, Helvetica, sans-serif;
    /* Center email in Hotmail */
        .ExternalClass {
        width: 100%;
    @media only screen and (max-device-width: 620px) {
    td[id=lettercontent] {
        color: #000000 !important;
        padding: 30px 20px 25px 15px !important;
        width: 285px !important;
    @media only screen and (max-device-width: 480px) {
    p[id=preheader] {
        font-size: 16px !important;
        line-height: 16px !important;
        padding-bottom: 30px !important;
    h1[class=h1] {
        font-size: 32px !important;
        line-height: 36px !important;
    ul[class=ul] {
        font-size: 18px !important;
    li[class=li] {
        font-size: 18px !important;
    td[id=headercell] {
        background-image: url(http://promo.aaas.org/images/Advances/2013/Mobile/Enewsletter---Final--AC_02.jpg) !important;
        background-size: 312px 97px !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        width: 312px !important;
        height: 97px !important;
        border-top: 0px !important;
        border-bottom: 0px !important;
        border-left: 0px !important;
        border-right: 0px !important;
        padding: 0px 0px 0px 0px !important;
    </style>
    </head>

  • How to change iMessage id from email to mobile number

    I Have activated my iMessage account using my email address i would like to change it to my mobile number

    I'm assuming that you have an iPhone? If not, then it can't be done.
    If you do have an iPhone. Then go to your iPhone...
    Settings---> Messages---> Send & Receive---> Make sure that your number is selected. Your email should be there, but I find it best to leave it not checked.
    Now on your Mac. Go to your Messages app.
    Messages---> Preferences---> Accounts---> Make sure that your number is there, if so make sure it's checked. Just like with what I said about the iPhone, make sure that your email is not checked.
    The reason why I prefer to have only the phone number checked/used. Is because there are times that when I send a message, it will some times choose a different means of sending the message. Thus it will be in a different convo window. At least that is the case when on the iPhone. Where as the Mac will keep it in the same window.
    KOT

  • Need ACES attention - connection pooling in oracle 10g rel 1

    I am using TOMCAT 5.0.19 Webserver and ORACLE 10g REL 1 as the database server. I have to restart the TOMCAT Webserver in order to establish connection atleast twice or thrice in a weak. Why I am unable to see the connection pooling in oracle 10g rel 1. How to revive or establish the setup. My objective is to have a centralised oracle 10g rel 1 database server and the applications of java are run thru centralised Webserver Tomcat 5.0.19.
    Can anyone please help me out optimizing the design setup.
    Regards
    Vijay Kumar

    by putting 'Need ACES' in your post title, you might have actually reduced the number of people reading your post, in other words someone >who might have suggested Thanks John for your reply. I changed the subject of the thread after not getting any reply for past 10 days. Last two days I have been updating with plea for attention to my problem. Finally I thought pulling attention of ACES, then only I edited the subject.
    Now, problem I am facing is not in oracle database but in application server. Actually we are running web applications thru Tomcat accessing Oracle 10g rel 1. I am often losing connection with web server. The users are unable to login in the web application. I was told to check oracle database server. I just checked alert log and found no errors. I just asked them to shutdown and restart the web server Tomcat 5.0. It then worked fine. This is temporary. I need to ensure where the problem is. Could you please guide me in checking various parameters or files to be checked to optimise connection pooling.
    Regards
    Vijay Kumar

  • AlertfileErr: ORA-02097 and ORA-00439 on Oracle 10g Rel 2 Stdrd Instances

    Hello,
    I need some help for the following alert file erros, that I get periodically on every database instance.
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-00439: feature not enabled: Database resource manager
    I red in another newsforum, that this ist a bug, cause Oracle Standard Edition uses functionality of the Enterprise Edition(=DB Resource manager). Is there any workaround for this? I don't have access to the Oracle metalink section.
    Database Resource Manager isn't installed in my environment.
    Environment:
    Windows 2003 SP1
    Oracle Database 10g Rel 2 (10.2.0.1) Standard Edition
    Hope anybody can help me.
    Thanks in advance,
    Zigi

    Yes,
    and That's exactly my problem. I haven't installed the resource manager. And I don't know which process, session, jobs or what ever tries to use the resource manager.
    I only created round about 50 Tables and views in the database, no stored procedures or anything special, no jobs.... only simple SQL Statements.
    and I'll get this message nearly every 6 hours. so what is going on there.
    The only thing, that i found was this:
    http://ora-02097.ora-code.com/msg/49049.html
    I don't have access to metalink so I don't know how to solve this problem.
    Can anybody help?

  • Does Oracle Linux Rel.6 have graphical capabilities

    Installed Oracle Linux Rel. 6 on a stand-alone PC for testing. When the system boots it defaults to terminal mode automatically. What is required are graphical capabilities to load Oracle products (DB and OEM). Is this possible with this linux and how?

    Dude wrote:
    At some point in history a computer was not even considered a consumer device. Sorry I don't understand why a graphical interface, which intends to make complex configurations easier to manage and more foolproof, should not be applied to "expert devices". It does not make it easier. That is a fallacy - the type of argument one gets from a Windows admin that only knows a GUI and nothing else. There are numerous times when dealing with the command line is not only far more powerful, but also far more easier. There are so many different types of configurations, many not to be found in any GUI. There are configurations that are too complex for a GUI. Etc.
    Linux is not Windows. Linux does not have an all-configuration-in-one-basket registry. So the GUI centric approach to sys admin on Linux is not only the wrong approach, but a dangerous one.
    As for the desktop interface, I have no problem if someone decides that their servers run best without it, and that a text interface and a bare metal engine is the way a computer should run. It depends on your environment and desires, and it is easy enough for someone with such requirement and technical background to customize a Linux system accordingly. But I'm not a fan of social engineering and don't think it should be disabled by default because it will give newcomers a harder time than required.So instead give newcomers a crutch called a GUI and hobble them for the rest of their lives, expecting a GUI to be the extend of what sys admin and configuration are on Linux?
    To put this into an analogy. A Cessna single engine 152 pilot cannot simply expect to get into a twin turbo prop King Air and fly the plane. He cannot argue that the plane should be easy enough to fly for a pilot and that as he is a pilot he should be able to fly it. He first needs to learn how twins behave. What the envelope is. How the systems work. Etc.
    Yes, he will need his basic piloting skills learned as a C152 pilot. But those skills alone do not suffice.
    Similarly, newcomers to Linux sys admin should not expect to simply get into the driving seat and effectively and correctly install and configure it. There is a learning curve. Arguing that this learning curve needs to be mitigated by a GUI? That is like a C152 pilot arguing that he does not need to know the complexities of a twin as he can use the autopilot in his little Cessna and all he needs to fly the large twin is to use that plane's autopilot. It is nonsensical.

  • Want to install Oracle Linux Rel.6 and have a graphical interface

    After reading:
    Does Oracle Linux Rel.6 have graphical capabilities
    How do you install the GUI for Oracle Linux Rel 6?

    Dude wrote:
    I'm glad you did not take my remark to call you a Linux enthusiast in bad way. It certainly was not meant to be a bad comment, but it's was probably silly of me to make such a remark anyway. I do not take personally offence easily in a forum like this. No, if you want to offend me, post poor code and claim it as the best thing since slice bread. ;-)
    I guess I strive to be liberal, but by definition I don't think I really fit into any political wing.Likewise. Find politics a necessary evil to keep abreast of - such as the election in the US.
    Back to Linux and your example, I have used such interfaces for many years too. Unfortunately we often have to use what is provided. However, the reason for the text interface is no longer valid, unless your input device is only a text based terminal.Not as much the input device - heck, pure tty devices are pretty much a thing of the past. It is about the complexity of the infrastructure between you and the device you need to administer. And about the task you need to perform.
    The connectivity can mean being unable to run a GUI - due to performance, firewalls, router configurations and so on. The task at hand could very well be easily done, using the relevant o/s commands via a command line interface.
    I think there is nothing against a GUI app that runs on your PC to sends appropriate commands to a text interface over a slow serial link, apart from the effort that is required to interact with errors, etc.Much more complex than that. A terminal server is usually used - and it attaches to the serial/RS232 connections of multiple devices that need to be administered. It will typically reside on a separate management network too, and not on the local company/corporate intranet.
    So for you to access a device to administer, you need an open firewall to the management network to reach the management server that handles the serial console connection for the device you want to administer. You need a valid o/s account on that terminal server. You need to use ssh to access the command line of that terminal server. You need to enter the relevant command that will attach your ssh session to the RS232 console connection to the device to administer.
    There is no GUI app on your side that can not only automagically do all this for you, but also provide you with GUI admin widgets to send commands to the remote device. Even if that remote device being sysadmin'ed is Linux, different distros and different versions of the same distros, means different commands, variances in command line parameters for such commands, and so on.
    A sysadmin that cannot deal with such situations, and need a GUI as a crutch to administer a device.. I for one will not call that person a sysadmin. I would call the person incompetent instead. Harsh views perhaps, but being sysadmin is an unforgiving job. A mistake, or inability to access a device and fix it using the bare minimum, could result in severe financial loss for the company.

  • How much RAM needed for the DB box

    Hi,
    Can someone share with me the technical way to do calculation of how much of RAM needed for a new Linux box with estimation of 500 users. I hope this calculation can also allow me to breakdown how much MEMORY needed for each session.
    Please recommend any site that I can refer to if any. TQ.

    My project start with Oracle 9i R2 (9206) on Linux (not yet confirm on the platform and etc). Just assume I will use Linux Red Hat Adv Sever latest version.
    Hence how many GB of memory for the box is sufficient to handle 500 connections. Pls guide me the formula to derive the calculation. TQ

  • Is it a bug in Oracle 10g rel 1

    I have server installed in Oracle 10g rel 1 and I have client installed as oracle10grel2. I am unable to export data from client machine. It is giving me a error. Can anyone help me out.
    Regards
    Vijay Kumar

    You need exp from 10gR1.
    Oracle works in downwards compatibility mode.
    This means lower version clients can connect to higher versions server, not necessarily the other way around.
    exp is a specific case as exp has sql statements hardcoded in the tool.
    Those statements are version specific.
    (One would wish Oracle would change exp to bail out immediately when connected to a lower version database)Due to this only, I need the URL for client of version 10g rel 1 for the server 10g rel 1.
    Regards
    Vijay Kumar

  • How often we need to run gather schema statistics etc.. ??

    HI,
    Am on 11.5.10.2
    RDBMS 9.2.0.6
    How often we need to run the following requests in Production...
    1.Gather schema statistics
    2.Gather Column statistics
    3.Gather Table statistics
    4.Gather All Column statisitics
    Thanks

    Hi;
    We discussed here before about same issue. Please check below thread which could be helpful about your issue:
    How often we need to run gather schema statistics
    Re: Gather schema stats run
    How we can collect custom schema information wiht gather statistics
    gather schema stats for EBS 11.5.10
    gather schema stats conc. program taking too long time
    Re: gather schema stats conc. program taking too long time
    How it runs
    Gather Schema Statistics
    http://oracle-apps-dba.blogspot.com/2007/07/gather-statistics-for-oracle.html
    gather statistict collect which informations
    Gather Schema Statistics...
    Regard
    Helios

  • MIgration of Progress Open Edge ver. 9.1 to Oracle 10g rel. 3

    I'm planning for a DB migration project. The application is MFG Pro EB2 and the database is Progress Open Edge 9.1. Can anyone help me confirm the version compatibility of Progress 9.1 with Oracle 10g, so far i've only i've only confirmed ver. 7. Need all the tech documents i can find to use as part of my justification. thanks in advance

    ... to Oracle 10g rel. 3It doesn't exist, afaik, the last is 10g release 2.
    Nicolas;

  • Oracle Linux NTFS how-to

    h1. Oracle Linux NTFS how-to
    Author: Dude
    Version: B, 22-Jan-2012
    h2. Purpose
    This document contains instructions how to install NTFS support under Oracle Enterprise Linux version 4, 5 and Oracle Linux version 5 and 6.
    h2. Topics
    1) Determine Kernel Architecture and Distribution
    2) Setup Software Repositories
    3) Install the NTFS Kernel Driver and Software
    4) Find and Mount a NTFS Device
    5) Notes
    h3. 1) Determine Kernel Architecture and Distribution
    Open a Terminal command prompt and enter the following to check if your system is x86 or x86_64:
    # uname -m
    x86_64If you see "i686" or "i386" instead then your system is x86.
    # cat /etc/redhat-release
    Red Hat Enterprise Linux AS release 4 (Nahant Update 9)The above example shows you are running Enterprise Linux version 4.9
    h3. 2) Setup Software Repositories
    You will need to setup access to two software repositories.
    Oracle ULN or public yum:
    The installation of RPM software packages can be complex due to software conflicts or package dependencies. It is easier to use a software manager like "yum", which will automatically resolve package dependencies and prompt you to download required software if necessary.
    For those who do not have a support subscription and access to Oracle ULN, Oracle provides a public YUM software repository to give you free online access to the standard software distributions. Simply follow the instructions outlined at http://public-yum.oracle.com. You only need to enable the software repository that matches your version according to the previous step.
    Reproforge:
    The NTFS driver is provided by the Repoforge alias RPMforge software repository. For more information about Repoforge, please see http://repoforge.org/faq. NTFS-3G is a stable, full-featured, read-write NTFS driver for Linux and other operating systems. For more information check http://www.tuxera.com/community/ntfs-3g-download, where you can also download the source code should you prefer to compile your own NTFS driver.
    Depending on your current distribution and kernel architecture, you need to install the following:
    Oracle Enterprise Linux 4.x x86:
    # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el4.rf.i386.rpm
    # rpm -Uvh rpmforge-release-0.5.2-2.el4.rf.i386.rpm
    Oracle Enterprise Linux 4.x x86_64:
    # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el4.rf.x86_64.rpm
    # rpm -Uvh rpmforge-release-0.5.2-2.el4.rf.x86_64.rpm
    Oracle Enterprise Linux / Oracle Linux 5.x x86:
    # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
    # rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
    Oracle Enterprise Linux / Oracle Linux 5.x x86_64:
    # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
    # rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
    Oracle Linux 6.x x86:
    # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
    # rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
    Oracle Linux 6.x x86_64:
    # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
    # rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpmh3. 3) Install the NTFS Kernel Driver and Related Software
    The software packages required to support NTFS depends on your current Linux distribution:
    Oracle Enterprise Linux 4.x:
    # yum install dkms dkms-fuse fuse fuse-ntfs-3g
    Oracle Enterprise Linux / Oracle Linux 5.0 - 5.2:
    # yum install dkms dkms-fuse fuse fuse-ntfs-3g
    Oracle Enterprise Linux / Oracle Linux 5.3:
    NTFS support under Oracle Enterprise Linux 5.3 is broken and you should consider to upgrade to the 5.4 or later. (https://bugzilla.redhat.com/show_bug.cgi?id=481495)
    Oracle Enterprise Linux / Oracle Linux 5.4 - 5.x:
    As of Oracle Enterprise Linux 5.4 the the kernel fuse module (dkms, dkms-fuse) is included in the kernel and should not be installed.
    # yum install fuse fuse-ntfs-3g
    Oracle Enterprise Linux / Oracle Linux 6.x:
    # yum install fuse fuse-ntfs-3g h3. 4) Find and Mount a NTFS Device
    You can use the "blkid" command to identify attached devices. For instance:
    sudo blkid
    /dev/sda1: LABEL="/boot" UUID="73efxxxxxxxxxxxxx_TYPE="ext3" TYPE="ext2"
    /dev/dm-0: UUID="22a2d704-f75dxxxxxxx595df" SEC_TYPE="ext3" TYPE="ext2"
    /dev/dm-1: TYPE="swap" UUID="3b74fxxxxxx411c-8671-2244b8735866"
    /dev/sdb1: TYPE="ntfs"
    {code}
    In the above example, device "/dev/sdb1" contains a NTFS partition.
    To mount the NTFS volume according to above example under the /mnt directory:
    {code}
    sudo mount.ntfs /dev/sdb1 /mnt
    {code}
    h3. 6) References
    http://wiki.centos.org/TipsAndTricks/NTFS
    h3. 6) Notes
    <font color="blue">
    <font size="2">
    If you experience problems with these instructions, please add only a couple of lines with a link to your own thread explaining the details. I spent some time and effort to create this how-to in the hope that it will be useful. If you would like to use these instructions for your own blog or website, please include a link to this source.
    Thanks!
    </font>
    </font>
    Kind regards and best of luck!
    Dude.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I'm afraid there is no general answer. It depends how your device is connected, i.e. internal, usb, etc.?

  • How do I install recommended updates, when I click on adobe flash plugin update now buttons, I hit a dead end on oracle's website, how do I complete the update?

    How do I install recommended updates, when I click on adobe flash plugin update now buttons, I hit a dead end on oracle's website, how do I complete the update?

    First, grab the Adobe uninstaller from here:
    http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
    Then download Flash 10.3.183.90 from here - about halfway down the page:
    http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
    (Released 6/11/2013) Flash Player 10.3.183.90 (61.1 MB)
    IMO, the best version of Flash for WinXP. Adobe kept up with security updates for 10.3 for WinXP users long after Flash 11.0 came out in 2011 for Vista and newer versions of Windows.
    Run the uninstaller, then reboot your operating system.
    Then you can run the Flash installer, with Firefox closed, of course.
    ''Note, if you still use IE you'll need to reinstall the ActiveX version of Flash for IE. That uninstaller removes all versions of Flash that might be installed,''

  • Need to read Email from Lotusnotes and Outlook using Oracle

    Dear All,
    My database version Oracle 10.2
    I need to read Email from Lotusnotes and Outlook using Oracle.
    I have tried with below link
    http://sourceforge.net/projects/plsqlmailclient/The problem is i am getting some java error.
    Can anyone suggest me to proceed further.
    Cheers,
    San

    I am using the another function to read an email from pop3 server
    create or replace
    FUNCTION pop3 (
       username   VARCHAR2,
       PASSWORD   VARCHAR2,
       msgnum     NUMBER
       RETURN tstrings PIPELINED
    IS
       --POP3_SERVER             constant varchar2(19) := '127.0.0.1';
       pop3_server   CONSTANT VARCHAR2 (100)     := 'xxxxxx';
       pop3_port     CONSTANT NUMBER             := 110;
       --POP3_TIMEOUT            constant number := 10;
       pop3_ok       CONSTANT VARCHAR2 (10)      := '+OK';
       e_pop3_error           EXCEPTION;
       --E_READ_TIMEOUT  exception;
       --pragma exception_init( E_READ_TIMEOUT, -29276 );
       socket                 UTL_TCP.connection;
       line                   VARCHAR2 (30000);
       BYTES                  INTEGER;
       -- send a POP3 command
       -- (we expect each command to respond with a +OK)
       FUNCTION writetopop (command VARCHAR2)
          RETURN VARCHAR2
       IS
          len    INTEGER;
          resp   VARCHAR2 (30000);
       BEGIN
          len := UTL_TCP.write_line (socket, command);
          UTL_TCP.FLUSH (socket);
          -- using a hack to check the popd response
          len := UTL_TCP.read_line (socket, resp);
          IF SUBSTR (resp, 1, 3) != pop3_ok
         THEN
           RAISE e_pop3_error;
          END IF;
          RETURN (resp);
       END;
    BEGIN
    --UTL_TCP.CLOSE_CONNECTION (SOCKET);
       PIPE ROW ('pop3:' || pop3_server || ' port:' || pop3_port);
       -- Just to make sure there are no previously opened connections
       UTL_TCP.close_all_connections;
       -- open a socket connection to the POP3 server
       socket :=
          UTL_TCP.open_connection (remote_host      => pop3_server,
                                   remote_port      => pop3_port,
                                   --tx_timeout => POP3_TIMEOUT,
                                   CHARSET          => 'US7ASCII'
       -- read the server banner/response from the pop3 daemon
       PIPE ROW (UTL_TCP.get_line (socket));
       -- authenticate with the POP3 server using the USER and PASS commands
       PIPE ROW ('USER ' || username);
       PIPE ROW (writetopop ('USER ' || username));
       PIPE ROW ('PASS ' || PASSWORD);
       PIPE ROW (writetopop ('PASS ' || PASSWORD));
       -- retrieve the specific message
       PIPE ROW ('RETR ' || msgnum);
       PIPE ROW (writetopop ('RETR ' || msgnum));
       --PIPE ROW( 'LIST '||msgNum ); PIPE ROW( WriteToPop('LIST '||msgNum) );
       PIPE ROW ('*** START OF INTERNET MESSAGE BODY ***');
       LOOP
       dbms_output.put_line('entering');
          BYTES := UTL_TCP.available (socket);
         IF BYTES > 0
          THEN
             BYTES := UTL_TCP.read_line (socket, line);
             line := REPLACE (line, CHR (13) || CHR (10), '');
             -- WILL HAVE TO USE PLSQL FUNCTIONS (HAVE BOOKMARKED) TO GET THE MAIL
             -- IN THE PREFERRED FORMAT. CAN USE "REPLACE()"
             IF LENGTH (line) = 1 AND line = '.'
             THEN
                PIPE ROW ('*** END OF INTERNET MESSAGE BODY ***');
             ELSE
                PIPE ROW (line);
             end if;
         END IF;
          EXIT when length (LINE) = 1 and LINE = '.';
          -- PIPE ROW (line);
       END LOOP;
       --PIPE ROW( '*** END OF INTERNET MESSAGE BODY ***' );
       -- close connection
       PIPE ROW ('QUIT');
       PIPE ROW (writetopop ('QUIT'));
       UTL_TCP.CLOSE_CONNECTION (SOCKET);
    EXCEPTION
       WHEN e_pop3_error
       THEN
          PIPE ROW ('There are no mails !');
    END;I am getting the below output .
    21     pop3:sbssld1 port:110
    75     "+OK Lotus Notes POP3 server version Release 8.0.1 ready on SBSSLD1/SBPSS.
    47     USER [email protected]
    69     "+OK [email protected], your papers please.
    13     PASS password
    63     "+OK [email protected] has 1 message.
    6     RETR 1
    17     "+OK 1546 octets
    38     *** START OF INTERNET MESSAGE BODY ***
    9     Subject:
    48     X-KeepSent: A231D6D0:8485FE4B-65257AB1:0022E60F;
    23      type=4; name=$KeepSent
    46     To: [email protected]
    53     X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008
    95     Message-ID: <[email protected]mbnpparibasfs.in>
    48     From: [email protected]
    36     Date: Fri, 9 Nov 2012 11:51:14 +0530
    90     X-MIMETrack: Serialize by POP3 Server on SBSSLD1/SBPSS(Release 8.0.1|February 07, 2008) at
    23      11/09/2012 11:51:21 AM
    17     MIME-Version: 1.0
    37     Content-type: multipart/alternative;
    68     "     Boundary="0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6""
    27     Content-Disposition: inline
    (null)     (null)
    58     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6
    39     Content-type: text/plain; charset=UTF-8
    33     Content-transfer-encoding: base64
    (null)     (null)
    (null)     (null)
    76     DQoNCg0KUmVnYXJkcywNClNoYW5tdWdhbSBOYXRhcmFqYW4uDQpNb2IgOiA5NjI5MjUyNDI1DQpP
    76     ZmYgOiAwNDQgMjI1MDQ3MDAgRXh0biA0Nzc5DQoNCiB+SWYgdGhlIGZhY3RzIGRvbuKAmXQgZml0
    68     IHRoZSB0aGVvcnksIGNoYW5nZSB0aGUgZmFjdHMu4oCdIC0gQWxiZXJ0IEVpbnN0ZWlu
    (null)     (null)
    58     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6
    38     Content-type: text/html; charset=UTF-8
    27     Content-Disposition: inline
    33     Content-transfer-encoding: base64
    (null)     (null)
    76     PGh0bWw+PGJvZHk+DQo8cD5SZWdhcmRzLDxicj4NClNoYW5tdWdhbSBOYXRhcmFqYW4uPGJyPg0K
    76     TW9iIDogOTYyOTI1MjQyNTxicj4NCk9mZiA6IDA0NCAyMjUwNDcwMCBFeHRuIDQ3Nzk8YnI+DQo8
    76     YnI+DQogfklmIHRoZSBmYWN0cyBkb27igJl0IGZpdCB0aGUgdGhlb3J5LCBjaGFuZ2UgdGhlIGZh
    60     Y3RzLuKAnSAtIEFsYmVydCBFaW5zdGVpbjxicj4NCjwvYm9keT48L2h0bWw+
    (null)     (null)
    60     --0__=EABBF022DFB16ED68f9e8a93df938690918cEABBF022DFB16ED6--
    (null)     (null)
    36     *** END OF INTERNET MESSAGE BODY ***
    4     QUIT
    42     "+OK Lotus Notes POP3 server signing off.
    "Now pls suggest me how can i store the sender mail id, receiver mail id, subject and body of the mail in a table.
    So that i can display the saved data in the above table as a mail in my separate application.
    Thanks in advance.
    Cheers,
    San

Maybe you are looking for

  • Adobe Reader quit unexpectedly. Please help

    Hi guys, I sure hope you can help as I am really worried at the moment. I have exams coming up and now I am unable to open pdf files! What happened was that I wanted to try Acrobat, so I downloaded a trial version. I then uninstalled it, and apparent

  • Always having the same info in the IDOC when sending to R3

    Hi. I have a FILE -> XI -> R3 (IDOC) scenario. The problem that i'm having is that the IDOC that is arriving to R3 is arriving with the same info. It doesn't matter the info that is comming in the FILE. The IDOC is being filled with an old info. Any

  • How to get PO number in FI Invoice Document??

    Dear All, Please guide me to get PO number in FI Logistics invoice Verification number against the vendor line item. Our requierement to develope a report to send to the vendor about -- Invoices -- pending & Invoices paid -- against each invoice ther

  • How to modify title and tooltip text in Content Editor web part

    I have inherited a site with a page that includes two Content Editor web parts. The web parts have been left with the default titles (Content Editor [1] and [2]) and mouse-over text. I want to set these to something more appropriate so I choose the o

  • Does JDBC8.0.5 support JDK1.3?

    Hi: Can Oracle8.0.5 use the package classes1.2.zip in Oracle8.1.7? And can oracle8.0.5 use JDK1.3? I have set classes12.zip into my classpath and set ocijdbc.dll into [Oracle_Home]\bin, but it show error:"ocijdbc8 can not found" when I run the progra