Email parser to Database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jaydev

    Email parser to Database

    Hi, I need to write an application to parse the incoming email and
    parse the fields and store the values in the database. Can anyone give
    me a direction to do this?

    Thanks for your help.

    Thanks,
    Jay
  • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

    #2
    Re: Email parser to Database

    jaydev wrote:
    Hi, I need to write an application to parse the incoming email and
    parse the fields and store the values in the database. Can anyone give
    me a direction to do this?
    Read RFC 821 and 822 (actually the newer versions, but ...) - they
    should tell you all about the email format.

    Arne

    Comment

    • jaydev

      #3
      Re: Email parser to Database

      On Feb 25, 7:50 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
      jaydev wrote:
      Hi, I need to write an application to parse the incoming email and
      parse the fields and store the values in the database. Can anyone give
      me a direction to do this?
      >
      Read RFC 821 and 822 (actually the newer versions, but ...) - they
      should tell you all about the email format.
      >
      Arne
      I want to know how to monitor the email?

      Comment

      • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

        #4
        Re: Email parser to Database

        jaydev wrote:
        On Feb 25, 7:50 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
        >jaydev wrote:
        >>Hi, I need to write an application to parse the incoming email and
        >>parse the fields and store the values in the database. Can anyone give
        >>me a direction to do this?
        >Read RFC 821 and 822 (actually the newer versions, but ...) - they
        >should tell you all about the email format.
        >
        I want to know how to monitor the email?
        That depends on what mail server you want to hook into. And
        where you want to hook in (front SMTP or back POP3/IMAP4/whatever).

        Arne

        Comment

        • jaydev

          #5
          Re: Email parser to Database

          On Feb 25, 8:20 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
          jaydev wrote:
          On Feb 25, 7:50 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
          jaydev wrote:
          >Hi, I need to write an application to parse the incoming email and
          >parse the fields and store the values in the database. Can anyone give
          >me a direction to do this?
          Read RFC 821 and 822 (actually the newer versions, but ...) - they
          should tell you all about the email format.
          >
          I want to know how to monitor the email?
          >
          That depends on what mail server you want to hook into. And
          where you want to hook in (front SMTP or back POP3/IMAP4/whatever).
          >
          Arne
          It will be a pop3 server.

          Thanks

          Comment

          • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

            #6
            Re: Email parser to Database

            jaydev wrote:
            On Feb 25, 8:20 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
            >jaydev wrote:
            >>On Feb 25, 7:50 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
            >>>jaydev wrote:
            >>>>Hi, I need to write an application to parse the incoming email and
            >>>>parse the fields and store the values in the database. Can anyone give
            >>>>me a direction to do this?
            >>>Read RFC 821 and 822 (actually the newer versions, but ...) - they
            >>>should tell you all about the email format.
            >>I want to know how to monitor the email?
            >That depends on what mail server you want to hook into. And
            >where you want to hook in (front SMTP or back POP3/IMAP4/whatever).
            >
            It will be a pop3 server.
            Then look at 1939 and see how you connects to the server,
            list emails, retrieve emails but keep a copy on the server.
            And then parse what you retrieve.

            Arne

            Comment

            • jaydev

              #7
              Re: Email parser to Database

              On Feb 25, 8:34 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
              jaydev wrote:
              On Feb 25, 8:20 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
              jaydev wrote:
              >On Feb 25, 7:50 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
              >>jaydev wrote:
              >>>Hi, I need to write an application to parse the incoming email and
              >>>parse the fields and store the values in the database. Can anyone give
              >>>me a direction to do this?
              >>Read RFC 821 and 822 (actually the newer versions, but ...) - they
              >>should tell you all about the email format.
              >I want to know how to monitor the email?
              That depends on what mail server you want to hook into. And
              where you want to hook in (front SMTP or back POP3/IMAP4/whatever).
              >
              It will be a pop3 server.
              >
              Then look at 1939 and see how you connects to the server,
              list emails, retrieve emails but keep a copy on the server.
              And then parse what you retrieve.
              >
              Arne
              Could you please explain more or show me some direction to read or
              sample code?

              Comment

              • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

                #8
                Re: Email parser to Database

                jaydev wrote:
                On Feb 25, 8:34 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
                >jaydev wrote:
                >>On Feb 25, 8:20 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
                >>>jaydev wrote:
                >>>>On Feb 25, 7:50 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
                >>>>>jaydev wrote:
                >>>>>>Hi, I need to write an application to parse the incoming email and
                >>>>>>parse the fields and store the values in the database. Can anyone give
                >>>>>>me a direction to do this?
                >>>>>Read RFC 821 and 822 (actually the newer versions, but ...) - they
                >>>>>should tell you all about the email format.
                >>>>I want to know how to monitor the email?
                >>>That depends on what mail server you want to hook into. And
                >>>where you want to hook in (front SMTP or back POP3/IMAP4/whatever).
                >>It will be a pop3 server.
                >Then look at 1939 and see how you connects to the server,
                >list emails, retrieve emails but keep a copy on the server.
                >And then parse what you retrieve.
                >
                Could you please explain more or show me some direction to read or
                sample code?
                Read the POP3 RFC, write some code and when you are stuck post some
                code with a description of the problem with it.

                Arne

                Comment

                • danger

                  #9
                  Re: Email parser to Database

                  On Feb 26, 5:02 am, Arne Vajhøj <a...@vajhoej.d kwrote:
                  jaydev wrote:
                  On Feb 25, 8:34 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
                  jaydev wrote:
                  >On Feb 25, 8:20 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
                  >>jaydev wrote:
                  >>>On Feb 25, 7:50 pm, Arne Vajhøj <a...@vajhoej.d kwrote:
                  >>>>jaydev wrote:
                  >>>>>Hi, I need to write an application to parse the incoming email and
                  >>>>>parse the fields and store the values in the database. Can anyone give
                  >>>>>me a direction to do this?
                  >>>>Read RFC 821 and 822 (actually the newer versions, but ...) - they
                  >>>>should tell you all about the email format.
                  >>>I want to know how to monitor the email?
                  >>That depends on what mail server you want to hook into. And
                  >>where you want to hook in (front SMTP or back POP3/IMAP4/whatever).
                  >It will be a pop3 server.
                  Then look at 1939 and see how you connects to the server,
                  list emails, retrieve emails but keep a copy on the server.
                  And then parse what you retrieve.
                  >
                  Could you please explain more or show me some direction to read or
                  sample code?
                  >
                  Read the POP3 RFC, write some code and when you are stuck post some
                  code with a description of the problem with it.
                  >
                  Arne
                  Look at OpenPOP Project :)

                  Comment

                  Working...