Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / February 2007

Tip: Looking for answers? Try searching our database.

How to add a Microsoft Outlook Email from ASP.NET application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xin.yadong@gmail.com - 28 Feb 2007 14:44 GMT
Is there a way to create an New Outlook Email from an ASP.NET
application?  I can not use "mailto:", since it is only support a
string less than 512. I have find a good way from link :
http://zones.advisor.com/doc/17330 , that thread show how to create a
new appointment instead of email. but I have no idea about the format
of a new email. Does any one know the format of a new outlook email
i.e.
   Response.ContentType = "text/XXXXXX"
   Response.AppendHeader("content-disposition", "inline;
filename=oneEmail.XXXXX")

and the body of the file

Thanks

Lu
Sue Mosher [MVP-Outlook] - 28 Feb 2007 15:06 GMT
If you can't use mailto: and want the message to be sent by the web page user's copy of Outlook and email account, you'd need to use client-side JScript to automate Outlook using the Outlook object model.

If you want to send from the server, use System.Net.Mail (ASP.NET 2.0) or System.Web.Mail (1.0)

The method in the advisor.com article is irrelevant for your task.

Signature

Sue Mosher, Outlook MVP
  Author of Configuring Microsoft Outlook 2003
    http://www.turtleflock.com/olconfig/index.htm
  and Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx
 

> Is there a way to create an New Outlook Email from an ASP.NET
> application?  I can not use "mailto:", since it is only support a
[quoted text clipped - 12 lines]
>
> Lu
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.