473,382 Members | 1,404 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,382 software developers and data experts.

Outlook events in vb.net

Hi,
Thank you in advance. I need to devlop an application,
which reads the outlook inbox messages and appends some
additional message to the read messages. I want to know is
it possible to do this type of task? I mean to say is it
possible to append some text in outlook inbox messages.If
yes, could you please provide a script which does this
task. The application which i'm intended to develop is
windows service application. And at the smaetime i want to
know the source code of outlook events in vb.net. Your co-
operation and help is highly appreciated.

Jul 21 '05 #1
2 4720
Sudheer,
Outlook still runs on COM and not .NET so I am not sure on how the
events are triggered and which ones you can hook into. But you would
need to interop from .NET to COM to use Outlook.

To answer your other question, yes you can modify the contents of an
existing email, but unless you can be more specific on what you plan to
do with it, this info. is meaningless.

If you want more info. I would recommend checking out the following two
sites as a starting point:
http://msdn.microsoft.com/office/understanding/outlook/
http://www.codeproject.com/csharp/OutlookConnector.asp

Regards,
Amit.
http://www.desigeek.com
sudheer wrote:
Hi,
Thank you in advance. I need to devlop an application,
which reads the outlook inbox messages and appends some
additional message to the read messages. I want to know is
it possible to do this type of task? I mean to say is it
possible to append some text in outlook inbox messages.If
yes, could you please provide a script which does this
task. The application which i'm intended to develop is
windows service application. And at the smaetime i want to
know the source code of outlook events in vb.net. Your co-
operation and help is highly appreciated.

Jul 21 '05 #2
Sudheer,
For information on using Outlook from .NET see:

http://www.microeye.com/resources/res_outlookvsnet.htm
However you may have a number of problems with your app.

1. Modifing messages in your inbox may cause the Security prompt, warning of
a possible virus.
2. Using Outlook from a Windows Service is simply not supported, as Outlook
requires a profile to log in, and the account Windows Services normally use
do not have a profile, plus Outlook OOM may display a dialog (security
prompt)

Properly constructed Outlook 2003 COM add-ins will avoid the security
prompts.

Hope this helps
Jay

"sudheer" <su**********@india.com> wrote in message
news:19*****************************@phx.gbl...
Hi,
Thank you in advance. I need to devlop an application,
which reads the outlook inbox messages and appends some
additional message to the read messages. I want to know is
it possible to do this type of task? I mean to say is it
possible to append some text in outlook inbox messages.If
yes, could you please provide a script which does this
task. The application which i'm intended to develop is
windows service application. And at the smaetime i want to
know the source code of outlook events in vb.net. Your co-
operation and help is highly appreciated.

Jul 21 '05 #3

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

Similar topics

0
by: Jeff Mikels | last post by:
Here is a python script to synchronize Palm Desktop Datebook files with Outlook's Calendar I'm releasing it under the Python license as version 0.1. ...
13
by: Joseph Kormann | last post by:
I'm building an application to retrieve emails. Which is better to use: CDO or the Outlook library? Thanks.
4
by: Andy Bates | last post by:
Hi - I am developing an application that needs to automate Microsoft Outlook and I need to capture the ItemSend event. The PC I'm developing with has Outlook 2003 on; the problem I have is I...
2
by: Fernando Botelho | last post by:
Hi, Somebody would know to give information about to create an email with outlook (to create a email and open it in outlook) with C#? I would not like to use PIA of the Office, because I don't...
2
by: John | last post by:
Hi I am trying to find the way to create an email in outlook. I am using the code given at the end. It works fine the first time but calling the code second time gives the following error; ...
2
by: sudheer | last post by:
Hi, Thank you in advance. I need to devlop an application, which reads the outlook inbox messages and appends some additional message to the read messages. I want to know is it possible to do...
6
by: Joseph Geretz | last post by:
I'm porting a C# Outlook Addin originally engineered as a COM Addin over to use VSTO. I've gotten this to the point where my VSTO Addin installs its Menu items and Toolbar buttons when Outlook...
1
by: skraps | last post by:
Do anybody know how to export events to Outlook from a php script? I'm making a list of events, and my idea is that when the user clicks on the event it will be exported to his or hers...
1
by: keri | last post by:
Hi everyone, After numerous failed attempts at this I am now trying again to solve this problem. I really would appreciate ANY help as I have been stumped with this for weeks and weeks! I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.