Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

SmtpMail & MS Exchange

Hi Folks,

I'm sending mail from my ASP.NET application using SmtpMail and Exchange. This works fine, but I can't seem to get it so that a copy of the email is saved to the 'Sent Items Folder' of the sender's mailbox.

Am I missing something simple? Any ideas?


Thursday, June 9, 2005

i assume you are wanting it to show up in a user's outlook sent items folder?  when you send mail via a smtp client from an application server it is not normally associated with an individual's outlook account. 
there are at least a couple of options -
switch to a mapi send method (instead of smtp) where you specify which exchange account to use - may be some authentication issues with this since it isn't being done from the clients machine.
see if you can set up your smtp server to put the sent item in the correct exchange folder after sending - not sure if exchange can associate an smtp email with an individual account based on dynamic criteria out of the box (I doubt it) or if that would take custom programming. 

Friday, June 10, 2005

*  Recent Topics

*  Fog Creek Home