Programmatically sent mail is delivered but copy in DRAFTS not SEN

  • Thread starter Thread starter Mark Stepan
  • Start date Start date
M

Mark Stepan

I recently upgraded from Outlook 2003 to 2007 and am in an Exchange Server
environment. I THINK it was when I upgraded that any mail I send
programmatically isn't getting put in the SENT folder correctly. Rather,
there is a copy in the DRAFTS folder.

It's not a HUGE problem, but definitely qualifies as an "annoyance" that I'd
like to eliminate.

The code I'm using to actually send the mail didn't (significantly) change.
Oh, and I AM using Redemption ...

Thanks in advance if anyone has any guidance for me ...

Mark Stepan
Merrill Corporation
St Cloud Minnesota
 
Thanks Michael, but when I stepped through the code and displayed that
property, it said "Sent Items". (But the message is in Drafts still.)

Mark
 
Hi I've been battling the same issue...try:

Dim objMail As MailItem

Dim Sentbox As MAPIFolder = oApp.Session.GetDefaultFolder(OlDefaultFolders.olFolderInbox)

objMail.Move(Sentbox)
 
Back
Top