Send email using System.Web.Mail.MailMessage saved in "Sent Items"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi
I am using System.Web.Mail.MailMessage to send email.
Is there any way to keep the email to "Sent Items" Folder??
I use Microsoft Outlook as my email tool.

Thanks
 
John,

What kind of outlook?
In the way you write it probably Express.

Otherwise you have to use Exchange as your mail server

Cor
 
Hi John,

System.Web.Mail is a server-side function. There is no guarantee that it
will work on client machines (since CDOSYS may not be installed there). So,
the fact that you are sending messages from the client side using this tool
is the first red flag.

If you want to send mail from the client side, and you want it to end up in
Outlook Sent Items, you may be better off using the Outlook object model.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 

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

Back
Top