By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,318 Members | 2,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,318 IT Pros & Developers. It's quick & easy.

Emailing From Asp.net

P: n/a
What is the best way to launch outlook from an asp.net web page? Can you do this using MAPI or is there a control that you can purchase? We are unable to use SMTP. We use MS Exhange and MAPI currently for our client/server apps.
Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Mike,

We typically discourage anyone from performing any automation of Office
products from ASP.NET because of possible deadlocks that it can cause. See
the following article for details:

http://support.microsoft.com/default...B;EN-US;257757

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
Thread-Topic: Emailing From Asp.net
thread-index: AcR1nxpmWp58WWVIQhCEa70Ycm3zUg==
X-WBNR-Posting-Host: 129.61.46.16
From: "=?Utf-8?B?TWlrZSBNb29yZQ==?=" <Mi*******@discussions.microsoft.com>
Subject: Emailing From Asp.net
Date: Thu, 29 Jul 2004 12:06:07 -0700
Lines: 1
Message-ID: <49**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:251788
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

What is the best way to launch outlook from an asp.net web page? Can you do this using MAPI or is there a control that you can purchase? We are
unable to use SMTP. We use MS Exhange and MAPI currently for our
client/server apps.


Nov 18 '05 #2

P: n/a
Hi Mike,

Yes. Use the System.Web.Mail namespace. Here is an article:

http://support.microsoft.com/default...B;EN-US;310273

I know that you said that you can't use SMTP, but I don't see you have any
choice. Perhaps someone else can offer a different suggestion.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
Thread-Topic: Emailing From Asp.net
thread-index: AcSLs23Ni2CkFXjMQE6Y/9JtAINo0g==
X-WBNR-Posting-Host: 129.61.46.16
From: "=?Utf-8?B?TWlrZSBNb29yZQ==?=" <Mi*******@discussions.microsoft.com>
References: <49**********************************@microsoft.co m> <f7**************@cpmsftngxa10.phx.gbl>Subject: RE: Emailing From Asp.net
Date: Thu, 26 Aug 2004 14:27:03 -0700
Lines: 51
Message-ID: <EE**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.aspnet
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:257638
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Do you have any recommendations or suggestions on how to create emails froman asp.net web application?

"Jim Cheshire [MSFT]" wrote:
Mike,

We typically discourage anyone from performing any automation of Office
products from ASP.NET because of possible deadlocks that it can cause. See the following article for details:

http://support.microsoft.com/default...B;EN-US;257757

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>Thread-Topic: Emailing From Asp.net
>thread-index: AcR1nxpmWp58WWVIQhCEa70Ycm3zUg==
>X-WBNR-Posting-Host: 129.61.46.16
>From: "=?Utf-8?B?TWlrZSBNb29yZQ==?=" <Mi*******@discussions.microsoft.com> >Subject: Emailing From Asp.net
>Date: Thu, 29 Jul 2004 12:06:07 -0700
>Lines: 1
>Message-ID: <49**********************************@microsoft.co m>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:251788 >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>What is the best way to launch outlook from an asp.net web page? Can
you do this using MAPI or is there a control that you can purchase? We are
unable to use SMTP. We use MS Exhange and MAPI currently for our
client/server apps.
>



Nov 18 '05 #3

P: n/a
"Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
news:f7**************@cpmsftngxa10.phx.gbl...

Jim,
We typically discourage anyone from performing any automation of Office
products from ASP.NET because of possible deadlocks that it can cause. See the following article for details:

http://support.microsoft.com/default...B;EN-US;257757


I would agree with you about ASP.NET and Office Automation. What's your view
on SQL Server's SQLMail? Because it requires an Outlook client to be
installed on the server, is it just as prone to the deadlocks as ASP.NET
instantiating Outlook directly?

I've also seen a system where the web server adds records to a SQL Server
table on the Exchange Server and a Windows service sniffs this table for new
records and processes them...

Mark
Nov 18 '05 #4

P: n/a
Mark,

Sorry to take so long to reply. I rebuilt my machine and lost track of
some messages.

I have no comment on SQLMail because I have no relation to that technology.
Hopefully an MVP or someone else might have some input. If not, you can
always open a case with us and one of our Technical Routers can assist in
getting you to the right person.

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
ASP.NET Developer Support
ja******@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
| From: "Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk>
| References: <49**********************************@microsoft.co m>
<f7**************@cpmsftngxa10.phx.gbl>
| Subject: Re: Emailing From Asp.net
| Date: Fri, 27 Aug 2004 00:22:35 +0100
| Lines: 24
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
| X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
| Message-ID: <Oa**************@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 82-34-220-213.cable.ubr03.hari.blueyonder.co.uk
82.34.220.213
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP10
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:257658
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| "Jim Cheshire [MSFT]" <ja******@online.microsoft.com> wrote in message
| news:f7**************@cpmsftngxa10.phx.gbl...
|
| Jim,
|
| > We typically discourage anyone from performing any automation of Office
| > products from ASP.NET because of possible deadlocks that it can cause.
| See
| > the following article for details:
| >
| > http://support.microsoft.com/default...B;EN-US;257757
|
| I would agree with you about ASP.NET and Office Automation. What's your
view
| on SQL Server's SQLMail? Because it requires an Outlook client to be
| installed on the server, is it just as prone to the deadlocks as ASP.NET
| instantiating Outlook directly?
|
| I've also seen a system where the web server adds records to a SQL Server
| table on the Exchange Server and a Windows service sniffs this table for
new
| records and processes them...
|
| Mark
|
|
|

Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.