473,394 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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!
Jul 17 '05 #1
4 1371
"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
> 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ron Stephens | last post by:
I posted to my web site a fun little program called merlin.py today. Please keep in mind that I am a hobbyist and this is just a little hack, if you look at the code you will see that it is still...
2
by: hicham | last post by:
Hi, I am looking for help, i would like to know how can i use the endian.h and config.h to convert compiled files under solaris from BIG-ENDIAN to compiled files LITTLE-ENDIAN. I am working...
2
by: OZ | last post by:
Hi, I am new C++ and need a little help with a public domain program that is suppose to perform a byte swap. I am receiving the following error messages during the compile process with Microsoft...
2
by: | last post by:
Hi, Im kindof new to c++... need a little help with system() function.. I use system to execute a dos program... but i want the rest of the program to continue imediately after executing it. and...
3
by: Erik Thorsen | last post by:
Hello! I am in the process of creating a database listing tours, something similar to what you can find on www.infohub.com. This means that I need to create a database which can be searchable...
8
by: Perception | last post by:
Hello all, If I have a C-like data structure such that struct Data { int a; //16-bit value char; //3 ASCII characters int b; //32-bit value int c; //24-bit value }
2
by: Daniel | last post by:
I'm new to .Net and all of its abilities so I hope this makes sense. Basically I'm confused on when is the appropriate time to use web forms controls vs. regular HTML. For example in ASP...
14
by: Brett Sinclair | last post by:
Hello everybody I'm still on the learning curve here...and from what I read, I created inherited datagrid class so I could have icons, combobox...etc in the columns of my datagrid. The grid...
16
by: Durumdara | last post by:
Hi ! I have a problem. I have a little tool that can get data about filesystems and wrote it in python. The main user asked me a GUI for this software. This user is needed a portable...
0
by: nintesa | last post by:
Hello from Italy! I'm trying to create a little script (php/mysql/javascript) to record visits of some of my sites. I have sites www.a.com, www.b.com ecc... and I have my counter script on...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.