By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,853 Members | 2,007 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,853 IT Pros & Developers. It's quick & easy.

Little Help..?

P: n/a
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!
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"Andy Dixon" <an**@nospammalvern.dknospam> wrote in message
news:pj****************@usenet.dk...
....
Can anyone point me to a script or something?


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
Jul 17 '05 #2

P: n/a
> 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.


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
Jul 17 '05 #3

P: n/a
On Sun, 16 Jan 2005 20:24:58 -0600, Christopher Finke wrote:
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.


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


Thanks! YHM
Jul 17 '05 #4

P: n/a
On Mon, 17 Jan 2005 01:40:12 +0000, Aidan wrote:
"Andy Dixon" <an**@nospammalvern.dknospam> wrote in message
news:pj****************@usenet.dk...
...
Can anyone point me to a script or something?


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


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!
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.