473,385 Members | 2,028 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,385 software developers and data experts.

Simple script to grab attachments from pop3 server

Does VBexpress have the tools required to log onto a pop3 server, extract
the attachments from every email into a local folder then delete the
messages on the server?

This would run on a Windows 2003 server machine with all of the attachments
to be saved to a shared folder.
Nov 5 '07 #1
3 1840
It has the tools to allow you YOU to write the code to do what you are
asking.
"Wowbagger" <Wowbagger~~wrote in message
news:Oh****************@TK2MSFTNGP04.phx.gbl...
Does VBexpress have the tools required to log onto a pop3 server, extract
the attachments from every email into a local folder then delete the
messages on the server?

This would run on a Windows 2003 server machine with all of the
attachments to be saved to a shared folder.

Nov 5 '07 #2

"Wowbagger" <Wowbagger~~wrote in message
news:Oh****************@TK2MSFTNGP04.phx.gbl...
Does VBexpress have the tools required to log onto a pop3 server, extract
the attachments from every email into a local folder then delete the
messages on the server?

This would run on a Windows 2003 server machine with all of the
attachments to be saved to a shared folder.

Out of the Box, No.
However, with the help of another news group, and using VB2005, I have
just done this.

Some things to note:

You can use the provided DotNet sockets, and TCP-IP Client to make the
connection.
See: http://www.faqs.org/rfcs/rfc1939.html

Having made the connection, You can use a Network stream to capture the
email.

Once you have downloaded the email, you will have to parse out the
boundaries, and imbedded boundaries of the body and attachments. This, it
turns out, is non-trivial.

Having accomplished that, attachments are encoded, and will need to be
converted from "Quoted-Printable", Base64, or 7bit encoding to be useable.
See: http://en.wikipedia.org/wiki/MIME
Al G

Nov 5 '07 #3
If it is there, then you could have a look here, mostly the place for
software to retrieve all kind of mail

http://www.indyproject.org/index.en.aspx

Cor

Nov 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: PIII450 | last post by:
Hi all, Does anyone know of a class which will read outlook email messages. I need to be able to scan outlook for "non-read" e-mails with a specific subject and then save the attachments and...
6
by: chuck amadi | last post by:
Hi , Im trying to parse a specific users mailbox (testwwws) and output the body of the messages to a file ,that file will then be loaded into a PostGresql DB at some point . I have read the...
3
by: LutherRevisited | last post by:
Is there a way I can put a message together without having to download any attachments there may be at the same time. I'm not having any problems dealing with attachments, but the way I'm doing...
2
by: brettk | last post by:
Hello All, Here's what I'm trying to do: I need to connect to a pop3 server, download all messages, and copy all of the attachments into a specific directory. The actual email message is...
1
by: unemotionalhumanoid | last post by:
I am going to write an application in c# that downloads email from an Exchange server and processes the attachments to the email. What is the best way of downloading the email and getting access to...
0
by: Eric McDaniel | last post by:
This may be a question for ActiveState support, but just in case anyone out there knows what the problem is... My call to Net::POP3->new() works fine when run through the perl interpreter, but...
0
by: Jim Florence | last post by:
Hi, I'm currently looking at writing an app that would allow people to mail a server with a job number and section in the title, the app will read this information in the subject line and move...
3
by: Mufasa | last post by:
Does anybody have any code that would go out to an e-mail account (I'm using g-mail), get the e-mails and if there are any attachments, get those and save them on the local hard drive? I don't...
1
by: rottmanj | last post by:
So after a few hours of playing with my config file, I think I have it to a point where I am ready to start adding in the rest of the components to my perl application. One thing that I know I need...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.