Emailing From Asp.net

G

Guest

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

Jim Cheshire [MSFT]

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.aspx?scid=KB;EN-US;257757

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
(e-mail address removed)

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==?=" <[email protected]>
Subject: Emailing From Asp.net
Date: Thu, 29 Jul 2004 12:06:07 -0700
Lines: 1
Message-ID: <[email protected]>
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!TK2MSFTNGXA03.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.
 
J

Jim Cheshire [MSFT]

Hi Mike,

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

http://support.microsoft.com/default.aspx?scid=KB;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
(e-mail address removed)

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==?=" <[email protected]>
References: <[email protected]>
Subject: RE: Emailing From Asp.net
Date: Thu, 26 Aug 2004 14:27:03 -0700
Lines: 51
Message-ID: <[email protected]>
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 from
an asp.net web application?

Jim Cheshire said:
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.aspx?scid=KB;EN-US;257757

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
(e-mail address removed)

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==?="
Subject: Emailing From Asp.net
Date: Thu, 29 Jul 2004 12:06:07 -0700
Lines: 1
Message-ID: <[email protected]>
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!TK2MSFTNGXA03.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.
 
M

Mark Rae

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.aspx?scid=KB;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
 
J

Jim Cheshire [MSFT]

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
(e-mail address removed)

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

--------------------
| From: "Mark Rae" <[email protected]>
| References: <[email protected]>
<[email protected]>
| 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: <[email protected]>
| 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!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:257658
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| |
| 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.aspx?scid=KB;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
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top