Little Help..?

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

    Little Help..?

    Hi

    I have been banging my head over something for the last week and cant get
    around.

    I am trying to write a script which will log into a mailbox, retrieve each
    message, save the attachment into a folder and delete it from the mailbox.

    Can anyone point me to a script or something? I have had a look at imap_open
    but cant get that to work.

    Thanks!


  • Aidan

    #2
    Re: Little Help..?

    "Andy Dixon" <andy@nospammal vern.dknospam> wrote in message
    news:pjtqb2-06f.nsi$h1t@use net.dk...
    ....[color=blue]
    > Can anyone point me to a script or something?[/color]

    Try looking here for some tools: http://pear.php.net

    or more specifically: http://pear.php.net/package/Net_POP3 or


    HTH


    Comment

    • Christopher Finke

      #3
      Re: Little Help..?

      > I am trying to write a script which will log into a mailbox, retrieve each[color=blue]
      > message, save the attachment into a folder and delete it from the mailbox.[/color]

      I have an e-mail parsing class and a script that does this, although it
      saves the attachments in a database, but it should be easy enough to modify
      to have it save the attachments in a folder. Contact me at
      chris@[NOSPAM]efinke.com (remove the obvious) if you'd like a copy.

      Chris Finke


      Comment

      • Andy Dixon

        #4
        Re: Little Help..?

        On Sun, 16 Jan 2005 20:24:58 -0600, Christopher Finke wrote:
        [color=blue][color=green]
        >> I am trying to write a script which will log into a mailbox, retrieve each
        >> message, save the attachment into a folder and delete it from the mailbox.[/color]
        >
        > I have an e-mail parsing class and a script that does this, although it
        > saves the attachments in a database, but it should be easy enough to modify
        > to have it save the attachments in a folder. Contact me at
        > chris@[NOSPAM]efinke.com (remove the obvious) if you'd like a copy.
        >
        > Chris Finke[/color]

        Thanks! YHM

        Comment

        • Andy Dixon

          #5
          Re: Little Help..?

          On Mon, 17 Jan 2005 01:40:12 +0000, Aidan wrote:
          [color=blue]
          > "Andy Dixon" <andy@nospammal vern.dknospam> wrote in message
          > news:pjtqb2-06f.nsi$h1t@use net.dk...
          > ...[color=green]
          >> Can anyone point me to a script or something?[/color]
          >
          > Try looking here for some tools: http://pear.php.net
          >
          > or more specifically: http://pear.php.net/package/Net_POP3 or
          > http://pear.php.net/package/Net_IMAP
          >
          > HTH[/color]

          Thanks -

          I have got a little bit of code, which does not work. I get the error:
          Not In NET_POP3_STATE_ AUTHORISATION State1 which I can find no reference
          to in the lastest version of net_POP3.

          If I force APOP not to be used, I get the error 'is not a supported
          authentication method'.

          Arg!

          Comment

          Working...