php email receiver

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

    php email receiver

    My linux system seems to not have any shell email applications compiled
    into the kernel.

    There is a very good phpmailer that is well documentated. Is there an
    email receiver writen in PHP out there somewhere I can go get, read,
    learn about, use? I would like something I can put in a script, reach
    out to my IPS, fetch the email, put it in '/var/www/spool/$DIR', then
    process it.

    Google turned up 1 hit and I don't want to join a 'ev1 server' to read it.
  • noone

    #2
    Re: php email receiver

    Dave Kelly wrote:
    [color=blue]
    > My linux system seems to not have any shell email applications compiled
    > into the kernel.[/color]
    [color=blue]
    > There is a very good phpmailer that is well documentated. Is there an
    > email receiver writen in PHP out there somewhere I can go get, read,
    > learn about, use? I would like something I can put in a script, reach
    > out to my IPS, fetch the email, put it in '/var/www/spool/$DIR', then
    > process it.[/color]
    [color=blue]
    > Google turned up 1 hit and I don't want to join a 'ev1 server' to read it.[/color]

    Those are not compiled into the kernel. What Linux do you have, and how
    did you install it. All of the installs I have seen install some email
    client such as Mozilla Email client (POP3/IMAP) and ALL unix environments
    have 'mail' (from the command line type: man mail)

    If you have a web server running - you can always search for PHP POP3 MAIL
    and come up with something like:
    Read your POP3 or IMAP email mailbox through your own website via free email client PHP scripts



    Comment

    • Dave Kelly

      #3
      Re: php email receiver

      noone wrote:[color=blue]
      > Dave Kelly wrote:[/color]
      [color=blue]
      > (from the command line type: man mail)[/color]
      This is what I did at 8 this am when I got out of bed. I typed 'apropos
      mail' and read everything to do with mail. At 12:30 I posted this my
      message and went to lunch.

      [color=blue][color=green]
      >> My linux system seems to not have any shell email applications compiled
      >> into the kernel.[/color][/color]
      [color=blue]
      > Those are not compiled into the kernel. What Linux do you have, and how
      > did you install it. All of the installs I have seen install some email
      > client such as Mozilla Email client (POP3/IMAP) and ALL unix
      > environments have 'mail'[/color]

      I did not say that right, let me try again.
      Last fall I was working on a script to generate a report and mail it to
      several people around the world. I tried to use 'mail' but kept getting
      errors. I finally found way down in '/var/spool/Mail/Mail' a statement
      saying that accessing remote hosts had not been compiled into the kernel.[color=blue]
      >
      > If you have a web server running - you can always search for PHP POP3
      > MAIL and come up with something like:
      > http://www.thefreecountry.com/php/emailclients.shtml[/color]

      If I had found these on my own, I would have rejected them because to me
      there is a difference between a web mail client and an e-mail client.
      Am I correct in my thinking on that?

      Perhaps if I explained what I am trying to accomplish you would better
      understand my needs.

      I am using paypal for customers to pay for goods purchase in my eStore.
      Paypal sends me an email -Notification of payment- for every purchase.
      I have code that will extract the informatin from these messages to
      write the invoice and print mailing labels. I just need to manage the
      messages as they come off of my ISP. 'procmail' will do that.

      I just want something that doesn't do anything to the screen, goes to
      my ISP, issues a user and passwd and gathers up the message that are in
      a special email account. I don't need address book, spam filter, or any
      other bling bling.

      And finally,
      Thanks for your reply.
      Dave
















      Comment

      • noone

        #4
        Re: php email receiver

        Dave Kelly wrote:[color=blue]
        > noone wrote:
        >[color=green]
        >> Dave Kelly wrote:[/color]
        >
        >[color=green]
        > > (from the command line type: man mail)[/color]
        > This is what I did at 8 this am when I got out of bed. I typed 'apropos
        > mail' and read everything to do with mail. At 12:30 I posted this my
        > message and went to lunch.
        >
        >[color=green][color=darkred]
        > >> My linux system seems to not have any shell email applications compiled
        > >> into the kernel.[/color][/color]
        >[color=green]
        >> Those are not compiled into the kernel. What Linux do you have, and
        >> how did you install it. All of the installs I have seen install some
        >> email client such as Mozilla Email client (POP3/IMAP) and ALL unix
        >> environments have 'mail'[/color]
        >
        >
        > I did not say that right, let me try again.
        > Last fall I was working on a script to generate a report and mail it to
        > several people around the world. I tried to use 'mail' but kept getting
        > errors. I finally found way down in '/var/spool/Mail/Mail' a statement
        > saying that accessing remote hosts had not been compiled into the kernel.
        >[color=green]
        >>
        >> If you have a web server running - you can always search for PHP POP3
        >> MAIL and come up with something like:
        >> http://www.thefreecountry.com/php/emailclients.shtml[/color]
        >
        >
        > If I had found these on my own, I would have rejected them because to me
        > there is a difference between a web mail client and an e-mail client.
        > Am I correct in my thinking on that?
        >
        > Perhaps if I explained what I am trying to accomplish you would better
        > understand my needs.
        >
        > I am using paypal for customers to pay for goods purchase in my eStore.
        > Paypal sends me an email -Notification of payment- for every purchase.
        > I have code that will extract the informatin from these messages to
        > write the invoice and print mailing labels. I just need to manage the
        > messages as they come off of my ISP. 'procmail' will do that.
        >
        > I just want something that doesn't do anything to the screen, goes to
        > my ISP, issues a user and passwd and gathers up the message that are in
        > a special email account. I don't need address book, spam filter, or any
        > other bling bling.
        >
        > And finally,
        > Thanks for your reply.
        > Dave
        >[/color]

        makes sense now :) I have not had to write one but...



        simple google search for php pop3 should get you what you want.
        log into pop3 account
        download messages
        save the messages to some message store (mysql or flat files)
        process the files.

        shouldn't be too difficult with the above phpclasses.

        and you're welcome.

        Comment

        Working...