How to read the content of mail?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ravigandha
    New Member
    • Mar 2008
    • 17

    How to read the content of mail?

    Hello everyone,

    I want to read the content of the mail from outlook express.
    then send that content to other mail. First is it possible to read the content of mail in PHP?

    waiting for ur comments
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    PHP can do all sorts of things to mail. I doubt very much it can do anything to Outlook tho, as that is simply an email-client. And the fact that it is a Microsoft email client doesn't help matters much.

    You could have PHP read the mail directly from the server, in much the same way Outlook would.
    Check out IMAP in the manual for info on how to do that.

    Comment

    • Ravigandha
      New Member
      • Mar 2008
      • 17

      #3
      Thanks for u reply.So they is a way to read the content of mail from outlook.
      Ok I go through IMAP and come back again!

      Comment

      • Ravigandha
        New Member
        • Mar 2008
        • 17

        #4
        I am Unable to understand about imap. could u tell me exatly wt to do?

        Comment

        • Atli
          Recognized Expert Expert
          • Nov 2006
          • 5062

          #5
          You can't really read your mail from Outlook because that is just an email client.

          What you need to do is create a lightweight *email client* using PHP, that is capable of reading the mail directly from the server (which is where IMAP comes in).

          Then you can use PHP's mail function to relay that mail wherever you want.

          This isn't something you can do by copy/past'ing a few lines of code, you will really have to know how this works and how to configure all of that.
          I would recommend Google'ing for some more info on this.

          Comment

          Working...