PC Review


Reply
Thread Tools Rate Thread

forwarding unread messages during certain times ?

 
 
=?Utf-8?B?V2Fsc2h5?=
Guest
Posts: n/a
 
      9th Nov 2004
I dont think there is a way to forward messages automatically or using VB in
outlook without the programme running.. If so could someone please let me
know..

If not what I would like to do is when I log on in the morning (Hours
9:00-17:00) I want all the new messages from the previous day that have been
sent after work to be forwarded to an additional address ??? Is this poss
please ??? or on open send all unread messages to an additional address ???

Thanks for your help

Regards
 
Reply With Quote
 
 
 
 
Michael Bauer
Guest
Posts: n/a
 
      9th Nov 2004
Hi Walshy,

in Application_Startup you can loop through the folder and check each
item if it is unread, if so forward the item.

--
Viele Grüße
Michael Bauer


"Walshy" <(E-Mail Removed)> wrote in message
news:12308BF9-B3E3-4F7D-9944-(E-Mail Removed)...
> I dont think there is a way to forward messages automatically or using

VB in
> outlook without the programme running.. If so could someone please let

me
> know..
>
> If not what I would like to do is when I log on in the morning (Hours
> 9:00-17:00) I want all the new messages from the previous day that

have been
> sent after work to be forwarded to an additional address ??? Is this

poss
> please ??? or on open send all unread messages to an additional

address ???
>
> Thanks for your help
>
> Regards


 
Reply With Quote
 
=?Utf-8?B?V2Fsc2h5?=
Guest
Posts: n/a
 
      9th Nov 2004
Any chance you could give me the code please ? Im still learning slowly... doh

would be grateful thanks


"Michael Bauer" wrote:

> Hi Walshy,
>
> in Application_Startup you can loop through the folder and check each
> item if it is unread, if so forward the item.
>
> --
> Viele Grüße
> Michael Bauer
>
>
> "Walshy" <(E-Mail Removed)> wrote in message
> news:12308BF9-B3E3-4F7D-9944-(E-Mail Removed)...
> > I dont think there is a way to forward messages automatically or using

> VB in
> > outlook without the programme running.. If so could someone please let

> me
> > know..
> >
> > If not what I would like to do is when I log on in the morning (Hours
> > 9:00-17:00) I want all the new messages from the previous day that

> have been
> > sent after work to be forwarded to an additional address ??? Is this

> poss
> > please ??? or on open send all unread messages to an additional

> address ???
> >
> > Thanks for your help
> >
> > Regards

>
>

 
Reply With Quote
 
Michael Bauer
Guest
Posts: n/a
 
      9th Nov 2004
Yes, of course.

private sub Application_Startup()
dim obj as object
for each obj in application.session.getfolder(olfolderinbox).items
if typeof obj is outlook.mailitem then
set omail=obj
' the rest Eric gave to you
endif
next
end sub


--
Viele Grüße
Michael Bauer


"Walshy" <(E-Mail Removed)> wrote in message
news:35A91F6F-18AD-420B-BC7B-(E-Mail Removed)...
> Any chance you could give me the code please ? Im still learning

slowly... doh
>
> would be grateful thanks
>
>
> "Michael Bauer" wrote:
>
> > Hi Walshy,
> >
> > in Application_Startup you can loop through the folder and check

each
> > item if it is unread, if so forward the item.
> >
> > --
> > Viele Grüße
> > Michael Bauer
> >
> >
> > "Walshy" <(E-Mail Removed)> wrote in message
> > news:12308BF9-B3E3-4F7D-9944-(E-Mail Removed)...
> > > I dont think there is a way to forward messages automatically or

using
> > VB in
> > > outlook without the programme running.. If so could someone please

let
> > me
> > > know..
> > >
> > > If not what I would like to do is when I log on in the morning

(Hours
> > > 9:00-17:00) I want all the new messages from the previous day that

> > have been
> > > sent after work to be forwarded to an additional address ??? Is

this
> > poss
> > > please ??? or on open send all unread messages to an additional

> > address ???
> > >
> > > Thanks for your help
> > >
> > > Regards

> >
> >


 
Reply With Quote
 
Michael Bauer
Guest
Posts: n/a
 
      9th Nov 2004
> for each obj in application.session.getfolder(olfolderinbox).items

Sorry, that should be

for each obj in
application.session.GetDefaultFolder(olfolderinbox).items

--
Viele Grüße
Michael Bauer

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Forwarding-Leaving message marked as unread Auto Forwarding-Mark as Unread Microsoft Outlook Discussion 3 3rd Feb 2010 04:15 PM
Unread Meail box constantly shows there are unread messages coxwall Microsoft Outlook 3 11th Dec 2009 09:21 AM
"Unread messages" icon is shown in taskbar even no unread mails ex Ramesh Kumar@HYD Microsoft Outlook Installation 0 8th May 2008 10:41 AM
How do I hide folders with no unread messages in Unread Mail =?Utf-8?B?Um9iYmll?= Microsoft Outlook Discussion 4 24th Nov 2005 03:14 PM
Deleted unread mails re-appear in unread messages Skeptical Microsoft Outlook Discussion 1 7th Nov 2005 09:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:14 PM.