Re: Copy sent emails to IMAP folder

Tech-Archive recommends: Speed Up your PC by fixing your registry




Thanks Michael,

I'm a bit confused.

Your previous post advised;

"Brian, you can use the ItemAdd event of SentItems folder. In that
event
call the Item´s Move function."

So, do I forget about the code above and use this one.

"Private WithEvents olSentItems as Outlook.Items

Private Sub Application_Startup()
Set olSentItems = [whataver folder´s items you want to watch]
End Sub"

And if I don't have "Save copies of messages in Sent Items folder"
checked, should
I set the watch to the outbox.

EG: Private WithEvents olSentItems as Outlook.Items

Private Sub Application_Startup()
Set olSentItems = outbox
End Sub"

Thanks,


--
Brian Tetlow
------------------------------------------------------------------------
Brian Tetlow's Profile: http://www.highdots.com/forums/m1516
View this thread: http://www.highdots.com/forums/t3122871

.



Relevant Pages

  • RE: Text box output controlled by Option group
    ... Private Sub optngrpScripts_Click ... optngrpScripts is the Option Group which has the four option buttons. ... "Brian" wrote: ... >> script is about 500+ words. ...
    (microsoft.public.access.formscoding)
  • Re: Select Case in ComboBox
    ... Brian McCaffery ... Private Sub UserForm_Initialize ... Dim refrange As Range ... "Dave Peterson" wrote: ...
    (microsoft.public.excel.programming)
  • Re: Revision Date in Footer
    ... Dim myRightFooter As String ... For Each wkSht In Me.Worksheets ... > Private Sub Workbook_BeforePrint ... > Brian wrote: ...
    (microsoft.public.excel.misc)
  • Re: FWIW
    ... Perhaps therein lies the glitch. ... Brian ... > Private Sub PageFooterSection_Format(Cancel As Integer, ...
    (microsoft.public.access.reports)