Invokeing mailitem.display from asp.net possible?

J

John Scalco

Hi,
I'm writing a simple page (asp.net) - with code behind and all that good
stuff and I would like to display the a new mail dialog (MailItem.Display())
from inside that web page when a button is clicked.

This page web app will only be running on the intranet - not internet.
I'm getting 'access denied' when I go to create the Outlook application
instance.

Is there something with the permissions I can set to get this to work ?

thanks,
Sincerely,
J
 
P

Peter Huang

Hi John,

First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you wants to show the MailItem
dialog in server side.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.

Firstly we do not recommend automation office products in serverside.
INFO: Considerations for Server-Side Automation of Office
http://support.microsoft.com/default.aspx?kbid=257757

Secondly, since the asp.net's process is running at another desktop which
is different from the default desktop which will see after we log onto the
windows. So we do not do the UI interactive operation in server, because we
can not guarantee the UI behavior in the desktop where the asp.net process
is running.

If you wants to display the client side's outlook data, you can use the
Outlook View Control.
OL2002: General Information About the Outlook View Control
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/Q291/4/07.ASP&NoWebContent=1

Please apply my suggestion above and let me know if it helps resolve your
problem.

Can you tell us what do you wants to do?May be there will be another
solution.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang

Hi John,

Did my suggestion give you any idea?
If you have any concern on this issue, please feel free to post here and I
will work on it with you.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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

Top