A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

create a Outlook macro which will check for non arrival of mail



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 31st 06, 10:53 PM posted to microsoft.public.outlook.program_vba
srisubha
external usenet poster
 
Posts: 2
Default create a Outlook macro which will check for non arrival of mail

I have a reporting tool which sends a mail after the report ran successfully.

I want to write an Outllok macro which will check to see if all the mails
were received by 5 am and if any one did not arrive, will send an alert mail
to a user with the name of the report that did not finish.

Is this possible in outlook?
Ads
  #2  
Old November 1st 06, 06:44 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default create a Outlook macro which will check for non arrival of mail

Am Tue, 31 Oct 2006 13:53:02 -0800 schrieb srisubha:

If you send the reports you could check the Sent Items folder: Use the
Restrict function and restrict for a determined subject and the date of the
day. Then compare the result with a list of all users who are supposed to
get the e-mail.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

I have a reporting tool which sends a mail after the report ran

successfully.

I want to write an Outllok macro which will check to see if all the mails
were received by 5 am and if any one did not arrive, will send an alert

mail
to a user with the name of the report that did not finish.

Is this possible in outlook?

  #3  
Old November 1st 06, 06:44 PM posted to microsoft.public.outlook.program_vba
srisubha
external usenet poster
 
Posts: 2
Default create a Outlook macro which will check for non arrival of mai

Hi Michael,
I think I need to explain my problem more clearly.
Everyday, I know that some mails will come to me after the reports ran
successfully.
One mail for each report.

What I want to do is to keep track and alert the users if any of those mails
do not arrive in my Inbox ( because that would mean the report did not run
successfully).

Hope this helps.

"Michael Bauer [MVP - Outlook]" wrote:

Am Tue, 31 Oct 2006 13:53:02 -0800 schrieb srisubha:

If you send the reports you could check the Sent Items folder: Use the
Restrict function and restrict for a determined subject and the date of the
day. Then compare the result with a list of all users who are supposed to
get the e-mail.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

I have a reporting tool which sends a mail after the report ran

successfully.

I want to write an Outllok macro which will check to see if all the mails
were received by 5 am and if any one did not arrive, will send an alert

mail
to a user with the name of the report that did not finish.

Is this possible in outlook?


  #4  
Old November 2nd 06, 08:04 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default create a Outlook macro which will check for non arrival of mai

Thatīs even easier. I`d create a new class module with two member:

class
Public Address as string
Public Arrived as Boolean
/class

Once, e.g. in Application_Startup, add one object of that class to a
collection, one for each address. If you use the address also as collection
key, itīs easy to access the items.

Track with ItemsAdd for the Inbox the returning mails. Find that address in
the collection and set the Arrived flag = True.

Create a recurring TaskItem thatīs due at 5am with a specific subject. if
the Reminder event fires, check for the subject and start a procedure that
loops through the collection. If it finds one item with Arrived=False then
use the Address property to send an e-mail. For all other items set the
Arrived property = False.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --



Am Wed, 1 Nov 2006 09:44:01 -0800 schrieb srisubha:

Hi Michael,
I think I need to explain my problem more clearly.
Everyday, I know that some mails will come to me after the reports ran
successfully.
One mail for each report.

What I want to do is to keep track and alert the users if any of those

mails
do not arrive in my Inbox ( because that would mean the report did not run
successfully).

Hope this helps.

"Michael Bauer [MVP - Outlook]" wrote:

Am Tue, 31 Oct 2006 13:53:02 -0800 schrieb srisubha:

If you send the reports you could check the Sent Items folder: Use the
Restrict function and restrict for a determined subject and the date of

the
day. Then compare the result with a list of all users who are supposed to
get the e-mail.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

I have a reporting tool which sends a mail after the report ran

successfully.

I want to write an Outllok macro which will check to see if all the

mails
were received by 5 am and if any one did not arrive, will send an alert

mail
to a user with the name of the report that did not finish.

Is this possible in outlook?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to create a task template e.g. starters check list brettonrjones Outlook - Using Forms 0 July 10th 06 02:30 PM
Process delivery receipts on arrival doesn't work CJSnet Outlook - General Queries 1 July 6th 06 12:51 AM
create macro to show file size in outlook john mcmichael Outlook and VBA 3 May 2nd 06 10:55 PM
Excel macro to create e-mail in Outlook Web Access fitful_thought Outlook - General Queries 0 April 15th 06 11:23 AM
Create a macro that runs from a Rule CF_business_analyst Outlook and VBA 8 January 13th 06 06:12 PM


All times are GMT +1. The time now is 08:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright Đ2004-2025 Outlook Banter.
The comments are property of their posters.