473,698 Members | 2,616 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Outlook objectmodel

Hello,

I would like to send e-mail and meetingrequests from an asp.NET webform, is
this possible?
In other words: can I use the Outlook objectmodel in asp.NET?

Stefan
Nov 18 '05 #1
3 1335
I would try first :
- the System.Web.Mail namespace to send mails
- and http://support.microsoft.com/default...b;en-us;287625 for the
vCalendar format

Though you could use interop, using a client application server side is
generally not that robust...

Patrice

"Bigfoot" <pi********@nlr .nl> a écrit dans le message de
news:us******** *****@TK2MSFTNG P11.phx.gbl...
Hello,

I would like to send e-mail and meetingrequests from an asp.NET webform, is this possible?
In other words: can I use the Outlook objectmodel in asp.NET?

Stefan

Nov 18 '05 #2
Hi Patrice,
- the System.Web.Mail namespace to send mails
- and http://support.microsoft.com/default...b;en-us;287625 for the vCalendar format


So you mean I cannot add a reference to outlook en then type something like
outlook.meeting to create a meeting item? Microsoft must have developed
something to communicate with Outlook through asp.net? Is using the
vCalendar format really the only way to do this? If that is the case then
Microsoft has to do something about it :)

Stefan
Nov 18 '05 #3
I thought this simple solution could perhaps fit your needs.

As for any other type library, you can reference the library and use Outlook
but you'll have generally some more details to deal with (generally security
issues). Pay attention also to low probability conditions that could arise
over time (for example if you exceed the allowed space for the mailbox you
are using, you won't be able to send a message : for this reason you may
have to tweak the mailbox config to make sure it is not configured to keep
sent mails etc...). Also don't know for Outlook but an app such as Excel or
Word can also sometimes raises dialog boxes. Of course you must code around
this to avoid having the application being "stopped" server side.

For all these reasons, I weight carefully the advantage before running an
end user application server side.

My second choice would be CDO
(http://msdn.microsoft.com/library/de...-us/dnanchor/h
tml/messagingcollab oration.asp) and using Outlook server side would be my
last resort.

Patrice

"Bigfoot" <pi********@nlr .nl> a écrit dans le message de
news:eR******** ******@TK2MSFTN GP12.phx.gbl...
Hi Patrice,
- the System.Web.Mail namespace to send mails
- and http://support.microsoft.com/default...b;en-us;287625 for the
vCalendar format


So you mean I cannot add a reference to outlook en then type something

like outlook.meeting to create a meeting item? Microsoft must have developed
something to communicate with Outlook through asp.net? Is using the
vCalendar format really the only way to do this? If that is the case then
Microsoft has to do something about it :)

Stefan

Nov 18 '05 #4

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

Similar topics

2
19341
by: Fritz Switzer | last post by:
Can anyone provide a small snippet in C# that pulls out the Contacts in Outlook XP. I've seen a couple of examples in C++ and VB in previous newsgroup posts, but either the originals didn't work or my conversion skills are weak. And if I have to use tlbimp.exe what is the right file to use. Thanks for the help. -- Fritz
10
2845
by: John | last post by:
Hi When I open a new outlook email from vb.net, sometimes outlook is very slow to appear or occasionally outlook freezes completely. I am targeting mixed office2000/xp environments so I am using the office2000 interop dlls generated by vs.net by adding office 2000 com reference. Any one else noticed this problem when targeting office2000/xp mixed environments? Is there a better, more robust way to do this? Am I better off using late...
9
6738
by: Srinivas | last post by:
hi all how to access the outlook user profiles through VB.net any help.... thanks in advanc Srinivas
9
3086
by: George McCullen | last post by:
I have an Outlook 2003 using Exchange Server 2003 Public Contacts Folder containing 20,000 Contacts. I am writing a VB .Net 2003 program that loops through all the contacts in a "for each oCt in oItems" loop. After about 250 contacts, the program gives an InvalidCastException Error on the for each loop. I notice that Outlook's memory keeps increasing (using the task manager) until it reaches around 20,000K. When I run the program a second...
3
6045
by: John | last post by:
Hi I am trying to access outlook contacts folders and delete the contacts that do not contain a certain category value in the categories field. I have written the below code but am stuck with the error on the indicated line. Any help would be appreciated. Thanks Regards
7
3617
by: Chris Thunell | last post by:
I'm trying to loop through an exchange public folder contact list, get some information out of each item, and then put it into a vb.net datatable. I run though the code and all works fine until i get to item 250 i get a "system.invalid cast exception" and "specified cast is not valid". Once i get this error and try to go to the next record.. every record after gets the same error... It's like the com connection to outlook has been lost....
3
8285
by: wizzbangca | last post by:
Hi everyone. Having problems with a utility I am writing for work. The previous IT Director thoughtfully allowed 3 (2000, xp, 2003) versions of outlook to be installed rather than 1. Now I need the utility to work for all 3 versions. A previous post suggested creating objects to detect the version of outlook, which I tried with success. But, that's as far as I can get. No one out there shows how to go beyond version detection to...
6
7212
by: Arthur Dent | last post by:
How do you sort a generic collection derived from System.Collections.ObjectModel.Collection? Thanks in advance, - Arthur Dent
1
1896
by: JackPot | last post by:
The question being like where is System.Collections.ObjectModel.Collection? I'm using Roeder's Reflector and come across the following: private Collection<int>channelSkipHours; When I click on Collection I get a dialog stating "The member is not loaded or may be hidden due to your website settings." So I try to use Reflector to peruse the CommonLanguageRuntimeLibrary and navigate through System.Collections but there is not...
0
9170
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
9031
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
8902
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8873
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
7740
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
6528
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
5862
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();...
1
3052
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
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.