473,651 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

automate outlook with vb.net

Hi

iam trying to write a dll in vb.net which automatically traps an incoming
email from outook and reads and parses the message. After doing that it
takes some information from the message and populates the sql server
database.this dll should work for a generic mapi setting and code should be
portable to other machines .... can somone help how to start with this.

thanks
Nov 20 '05 #1
2 2115
Cor

I iam trying to write a dll in vb.net which automatically traps an incoming
email from outook and reads and parses the message. After doing that it
takes some information from the message and populates the sql server
database.this dll should work for a generic mapi setting and code should be portable to other machines .... can somone help how to start with this.

http://www.microeye.com/resources/res_outlookvsnet.htm

http://msdn.microsoft.com/library/de...classtopic.asp

http://msdn.microsoft.com/library/de...figuration.asp

http://msdn.microsoft.com/library/de...vr_cdo_top.asp
Nov 20 '05 #2
afsheen,
What do you mean by "should work for a generic mapi setting"?

You can use the fully supported Outlook object model with VB.NET, however
you will be tied to Outlook.

http://www.microeye.com/resources/res_outlookvsnet.htm

You could use the CDO 1.2.1 object model with VB.NET, which is not
supported, however I have had success with it.

http://www.microeye.com/resources/res_outlookvsnet.htm

Also is this with Exchange Server accounts or stand alone Outlook
installations? With Exchange Server I would consider a server side rule that
calls into a VB.NET "COM" component, rather the a VB.NET component that
calls into Exchange Server...

Hope this helps
Jay

"afsheen" <af******@hotmi al.com> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
Hi

iam trying to write a dll in vb.net which automatically traps an incoming
email from outook and reads and parses the message. After doing that it
takes some information from the message and populates the sql server
database.this dll should work for a generic mapi setting and code should be portable to other machines .... can somone help how to start with this.

thanks

Nov 20 '05 #3

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

Similar topics

6
5590
by: John Galt | last post by:
Does anyone have working code to send a fax from VBA using Outlook.Mailitem? I have tried some examples I have found and they all simply try to use the Fax number as an e-mail address. Thanks in advance
0
328
by: Lumpierbritches | last post by:
Option Compare Database Option Explicit '************ Code Start ********** 'This code was originally written by Dev Ashish. 'It is not to be altered or distributed, 'except as part of an application. 'You are free to use it in any application, 'provided the copyright notice is left unchanged. '
3
2569
by: scott_baird | last post by:
I have an email macro setup (maybe I should go another way, but that was the quickest at the moment...) and what I would like to do is automate the "to" addressee of the email it generates for sending. What I have is an email button that creates a report based on a property address on a form (driven by a query which has criteria such as forms!frmPROPERTY!address). That open form also has an email address on it for the owner, and I would...
0
1076
by: joostbazelmans | last post by:
Hi, I have a acces database, that uses a form that can be send by e-mail. This is all working well, but noiw I want to make it so, that the from field is automticly filled with a value that I put in the code. I am using the docmd.sendobject feature behind the button to open an outlook message, with a report attached to it. In the arguments of the objects I cannot find an argument that lets me fill the from field. So How can this be...
5
3645
by: TM | last post by:
I would like to write a little app in Visual Basic .net as an add-in to Outlook 2003 so that I can quickly get a list of contact names and email addresses, then when I click on a name or email address, I want to open a new mail message to that person. I don't want to send the message, just open a new blank email so that I can make it easier to send messages. Any idea how I could find out more about how to do this ?
2
2002
by: teddarr | last post by:
My company maintains an access database. We use this database to generate a report 3 times a day and email it to a distribution list. How do I go about using the system clock to automate the report update and is it possible to have that emailed using outlook without having to open the database and manually do everything?
1
4514
by: Maddyme | last post by:
I can manually 'suck' data out of Outlook emails into an Access Table. I need a way to include that part of the process using an Access Macro if possible. So that I run the Macro and the data is pulled into the table without the laborious open File, then Get External Data, then Import and then setting 'Files of Type' to Outlook and then hunting to the appropriate email folder. Is there a way? Hay-elp! I am using MS Access 2000 and Outlook...
3
6024
by: chiinook | last post by:
I have built a fairly simple database to manage contact information for about 300 clients. Some of these have requested that I send them our publications by email rather than post. I have created a query which culls the names and addresses of these contacts. Then I export the result to a .csv file and edit it into a distribution list format ... (ie FirstName LastName <em...@domain.com>; ... etc.) Is there a way for me to automate this...
3
2184
by: BlackMustard | last post by:
i have coded a little windows application in vb.net, which looks up a lot of info from an excel sheet, defines and fills new outlook.mailitem:s with information and attempts to send them. but for each mail that is to be sent, i get a message from outlook saying "A program is trying to send emails on your behalf. Do you want to allow this? If this is unexpected it might be a virus and you should choose No." I have to wait a couple of seconds and...
0
8349
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8576
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
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
5609
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
4143
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
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
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
1585
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.