473,769 Members | 4,052 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Read E-mails.

In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachments what can I do ?

or somebody know where can I find some code to do that.
Thansk.
Nov 23 '05 #1
5 1650


"Miguel Arenas" wrote:
In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachments what can I do ?

or somebody know where can I find some code to do that.
Thansk.


Hi Miguel, I have just posted a query asking the same thing. Hope somebody
is kind enough to help us.

Polly Anna
Nov 23 '05 #2

I wrote a Windows service that does exactly that -- it reads an Outlook
mailbox, iterates through the emails and parses information from the
body and reads attachments. It's in c# and uses Outlook interop.

Is that what you want to do?

What do you want to know?

Miguel Arenas wrote:
In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachments what can I do ?

or somebody know where can I find some code to do that.
Thansk.


Nov 23 '05 #3
Yes that is what I'm looking for.

"John A. Bailo" wrote:

I wrote a Windows service that does exactly that -- it reads an Outlook
mailbox, iterates through the emails and parses information from the
body and reads attachments. It's in c# and uses Outlook interop.

Is that what you want to do?

What do you want to know?

Miguel Arenas wrote:
In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachments what can I do ?

or somebody know where can I find some code to do that.
Thansk.


Nov 24 '05 #4

Well, essentially you should read up on Outlook interop. A quick
Google will give you a few of the basics and you can map out what you
want to do.

Basically the process is:

Create an Outlook object
Login to Outlook
Create a folder to the Inbox or work through the public folders.

Within each folder, you can set the array of emails mail equal to an
Outlook MailItem object and this will give you access to the .Body of
the email. Attachments are an array, although I found that the built
in Outlook obj could only handle a few types of attachments.

I ended up using a freeware mail object called *Redemption" for complex
document attachments and attachments of attachments.
Miguel Arenas wrote:
Yes that is what I'm looking for.

"John A. Bailo" wrote:

I wrote a Windows service that does exactly that -- it reads an Outlook
mailbox, iterates through the emails and parses information from the
body and reads attachments. It's in c# and uses Outlook interop.

Is that what you want to do?

What do you want to know?

Miguel Arenas wrote:
In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachment s what can I do ?

or somebody know where can I find some code to do that.
Thansk.


Nov 24 '05 #5
www.vbip.com
regards,
Miguel Arenas wrote:
In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachments what can I do ?

or somebody know where can I find some code to do that.
Thansk.

Nov 29 '05 #6

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

Similar topics

2
9004
by: Gunnar | last post by:
Hello, I've just written a CPP program that reads integers from a binary file, and used this code while (my_ifstram.read( (char* ) &number, sizeof(int)) { // do something with number } My question is now, where can I find a manual that describes what the read method does with the ifstream object? I'm sitting here with my Linux/Debian machine, but I have not found any
11
12722
by: Markus Breuer | last post by:
I have a question about oracle commit and transactions. Following scenario: Process A performs a single sql-INSERT into a table and commits the transaction. Then he informs process B (ipc) to read the new date. So process B starts "select ..." but does not get the previously inserted row. The timespan between commit and select is very short. (NOTE: two different sessions are used) Questions: 1.) Does commit when returning from call...
12
11665
by: Steven T. Hatton | last post by:
I know of a least one person who believes std::ifstream::read() and std::ofstream::write() are "mistakes". They seem to do the job I want done. What's wrong with them. This is the code I currently have as a test for using std::ifstream::read(). Is there anything wrong with the way I'm getting the file? #include <vector> #include <iomanip> #include <fstream> #include <iostream>
2
3092
by: Sandman | last post by:
Just looking for suggestion on how to do this in my Web application. The goal is to keep track of what a user has and hasn't read and present him or her with new material I am currently doing this by aggregating new content from all databases into a single indexed database and then saving a timestamp in the account database (for the current user) that tells me when the user last read items in the aggregated database.
4
3847
by: Ollie Cook | last post by:
Hi, I am having some difficulty with read(2) and interrupting signals. I expect I am misunderstanding how the two work together, so would appreciate some guidance. I am trying to 'time out' a socket read after a certain delay. The logic is (I will provide a test program below): - create and connect socket
6
2668
by: BBM | last post by:
I have an object that has a fairly complex construction sequence, so I have written a dedicated "factory" class that invokes the constructor of my object class (which does nothing but instantiate the object and set default blank/null values), and then does all the Db access and number crunching to populate the new object. The factory returns the fully populated object to the caller. All the fields in the object are private, but have...
8
23907
by: a | last post by:
I have a struct to write to a file struct _structA{ long x; int y; float z; } struct _structA A; //file open write(fd,A,sizeof(_structA)); //file close
1
4000
by: Jose Reckoner | last post by:
I'm running python 2.3 on Windows XP. Anyone have a quick small script to convert .DT1 and .DEM data to ASCII or some other format? I don't need a viewer. Thanks!
0
4753
by: phplasma | last post by:
Hey, I am currently attempting to implement a multi-threaded C# socket, using SSL (.pem file/certification/private key combo) server using Visual Studio C# Express. I have successfully made the client application establish a connection, and send data, which appears in plain, de-crypted text on the server - this works.
6
5716
by: arnuld | last post by:
This works fine, I welcome any views/advices/coding-practices :) /* C++ Primer - 4/e * * Exercise 8.9 * STATEMENT: * write a program to store each line from a file into a * vector<string>. Now, use istringstream to read read each line * from the vector a word at a time.
0
10215
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5307
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3964
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3564
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.