Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .NET and Microsoft Outlook

Reply
Thread Tools

ASP .NET and Microsoft Outlook

 
 
James
Guest
Posts: n/a
 
      08-29-2003
Is it possible for me to generate Outlook objects in an ASP.NET application
on a web server (like a calander event for example) and then attach that
object to an email so that the recipient can open it and add a calander
event to THEIR Outlook file? I already know how to send mail using the
SmtpMail object.

If it is possible, how difficult is it? And are there any good examples,
tutorials, or books that could point me in this direction using VB.NET?


Thanks,

James


 
Reply With Quote
 
 
 
 
Ananda Sim
Guest
Posts: n/a
 
      08-29-2003
Hi James,

If you are only interested in Calendar items (I'd refrain from calling it a
Calendar event because uh, the industry reuses jargon over and over again),
you don't need Outlook or the Outlook object model. All you need to do is to
construct a VCAL file which is a plain text file - search MSDN or google....

Hope This Helps
Ananda

"James" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is it possible for me to generate Outlook objects in an ASP.NET

application
> on a web server (like a calander event for example) and then attach that
> object to an email so that the recipient can open it and add a calander
> event to THEIR Outlook file? I already know how to send mail using the
> SmtpMail object.
>
> If it is possible, how difficult is it? And are there any good examples,
> tutorials, or books that could point me in this direction using VB.NET?
>
>
> Thanks,
>
> James
>
>



 
Reply With Quote
 
 
 
 
Tian Min Huang
Guest
Posts: n/a
 
      08-30-2003
Hi James,

Thanks for your post. I'd like to share the following information with you:

Creating an Appointment/Meeting Request from ASP.NET can be done but how
you do it will depend on the type of environment you are using.

First, the Outlook Object Model is not supported for use unattended or from
a service, so the Outlook Object Model is not suitable to run from an
ASP.NET page. For more information see the following article:

Q237913 INFO: Outlook Object Model Unsuitable to Run in Windows Service
http://support.microsoft.com/support.../q237/9/13.asp

If you want the code to run on an ASP.NET Web Server, you should review the
following article about the supported Messaging APIs with the .NET
Framework and make a decision based on your environment.

Support Policy for Microsoft Exchange APIs with .NET Framework
http://support.microsoft.com/?id=813349

For example, if your users are working against an Exchange 2000 server you
can use WebDAV to create Appointments directly in Calendar folders or to
send meeting requests. Here is an article with some sample WebDAV code:

308373 HOWTO: Send a Meeting Request Using WebDAV
http://support.microsoft.com/?id=308373

If you are not using an Exchange Server then users will typically have
their Calendars stored in local Personal Folder files (.pst) and you will
not be able to access these folders directly from a Web Server (or any
other machine). In this type of scenario you could generate a mail message
using System.Web.Mail (based on the previous code sample posted to this
thread) and attach and iCalendar (.ics) file with the meeting information.
iCalendar information can be sent in a text file attachment. For testing,
you can create an iCalendar item in Outlook by selecting an Appointment in
your Calendar and then choosing "Forward as iCalendar" from the Actions
menu. You can then open the attached ".ics" file in a text editor like
Notepad to see the iCalendar information. To get more information about the
iCalendar Internet Standard you can search the web for "RFC" and
"iCalendar". For example, here is a "Request For Comment" (RFC) link I
found for the iCalendar format: <http://rfc-2445.rfcindex.net>.

By the way, there are no supported .NET APIs for working with Exchange
Server 5.5 data, so you could use CDO 1.21 in a classic ASP page to create
Appointments. There is no server-side API either that is supported for
creating Task items. The only supported API for creating Outlook Task items
is the Outlook Object Model.

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided Ħ°as isĦħ with no warranties and confers no rights.


 
Reply With Quote
 
ysut ysut is offline
Junior Member
Join Date: Jun 2008
Posts: 1
 
      06-13-2008
Is it possible to store outlook email item(s) into a database ? Basicly, I need to copy an email item(s) from microsoft outlook into a webform and store in Ms. Sql server database, as a proof of the transaction.

How to do that ?

Thanks in Advance.

Regards
YSut
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola MCSE 4 11-15-2006 02:40 AM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola Microsoft Certification 3 11-14-2006 05:18 PM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola MCSD 3 11-14-2006 05:18 PM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd realexxams@yahoo.com Microsoft Certification 0 05-10-2006 02:35 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM



Advertisments