![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I need a macro to autoforward new mesages in my Inbox every 15 minutes to a
specified address and then move them to a folder I will call "forwarded". I can't use a rule due to my exchange servers security protocols. PLEASE HELP! thanks! |
Ads |
#2
|
|||
|
|||
![]() Here's a sample for an API timer: http://www.vboffice.net/sample.html?...4&cmd=showitem You can use that to call a procedure every 15 minutes. In that procedure loop through the Inbox' Items collection backwards; call each item's Forward function, which returns a new MailItem object. Add the address to the item's Recipients collection and then call its Send method. After that call its Move function. All mentioned functions are explained in the VBA help with code samples. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize Outlook email: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Tue, 19 Jun 2007 13:36:42 -0700 schrieb snowmangoh: I need a macro to autoforward new mesages in my Inbox every 15 minutes to a specified address and then move them to a folder I will call "forwarded". I can't use a rule due to my exchange servers security protocols. PLEASE HELP! thanks! |
#3
|
|||
|
|||
![]()
Thanx a ton for your reply, but I am a total noob to VBA, and while I have
been through the help files I can't find/figure out what I need... If I sent someone my personal email, could you send me the code I need to paste in? Thanks again! "Michael Bauer [MVP - Outlook]" wrote: Here's a sample for an API timer: http://www.vboffice.net/sample.html?...4&cmd=showitem You can use that to call a procedure every 15 minutes. In that procedure loop through the Inbox' Items collection backwards; call each item's Forward function, which returns a new MailItem object. Add the address to the item's Recipients collection and then call its Send method. After that call its Move function. All mentioned functions are explained in the VBA help with code samples. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize Outlook email: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Tue, 19 Jun 2007 13:36:42 -0700 schrieb snowmangoh: I need a macro to autoforward new mesages in my Inbox every 15 minutes to a specified address and then move them to a folder I will call "forwarded". I can't use a rule due to my exchange servers security protocols. PLEASE HELP! thanks! |
#4
|
|||
|
|||
![]()
Hi Michael
First time on this forum. The article wrote below pretty much reflects my position, as in i need OL to auto forward emails to another address and move a copy to 'archive' can you please provide any further articles/samples on this as its the first time i've seen Redemption Many thanks Robin "Michael Bauer [MVP - Outlook]" wrote: Here's a sample for an API timer: http://www.vboffice.net/sample.html?...4&cmd=showitem You can use that to call a procedure every 15 minutes. In that procedure loop through the Inbox' Items collection backwards; call each item's Forward function, which returns a new MailItem object. Add the address to the item's Recipients collection and then call its Send method. After that call its Move function. All mentioned functions are explained in the VBA help with code samples. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Organize Outlook email: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Tue, 19 Jun 2007 13:36:42 -0700 schrieb snowmangoh: I need a macro to autoforward new mesages in my Inbox every 15 minutes to a specified address and then move them to a folder I will call "forwarded". I can't use a rule due to my exchange servers security protocols. PLEASE HELP! thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 Auto Forward Rules do not forward Attachment Correctly | Tom Ewald | Outlook - General Queries | 0 | March 8th 07 06:04 PM |
Outlook Macro to Forward Multiple Emails | Jim | Outlook and VBA | 5 | December 12th 06 09:50 PM |
Outlook Macro To Forward Emails | [email protected] | Outlook - General Queries | 3 | September 23rd 06 10:08 PM |
outlook forward macro | Phil Best | Outlook and VBA | 6 | July 18th 06 02:45 PM |
macro to forward | Dan | Outlook and VBA | 8 | February 23rd 06 08:22 PM |