Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: How to add a Microsoft Outlook Email from ASP.NET application

Geek News

How to add a Microsoft Outlook Email from ASP.NET application
xin.yadong[ at ]gmail.com 2/28/2007 2:44:55 PM
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

Re: How to add a Microsoft Outlook Email from ASP.NET application
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 2/28/2007 3:06:33 PM
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.

--
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

<xin.yadong[ at ]gmail.com> wrote in message news:1172673895.789209.192610[ at ]v33g2000cwv.googlegroups.com...
[Quoted Text]
> 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
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net