Hi Bob,
I am sorry if I have any misunderstanding.
Yes, you are right, we did not recommend automation Outlook in ASP.NET(web
application) directly, it is an unsupported approach.
But we commonly can do the outlook automation in the client side, e.g. in
the script of the web page.
Based on my understanding, your web application will send a mail via
certian user's account. If this is a defined user account, e.g. user A,
then the sent mail should be put into the user A's outlook sent items
folder, am I right? But if another user B access the asp.net page, and send
mail, then under whose account, the mail will be sent, and where the sent
items message will be put into, A or B?
So I think maybe we can put the send mail action at the client side. So
that if user A access web page and automation outlook at client side to
send mail, after doing so, a sent item will occurred in the sent item
folder. So did user B.
As I said before, when outlook is working with Exchange, it goes the MAPI
way which is different from the SMTP way when we use
System.Net.Mail.SmtpClient. So if you send mail via SMTP server in your
ASP.NET web application server side (outlook can work with SMTP), the
outlook has no idea about that the mail has been sent.
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.