detect if a mail is read in a public folder

Status
Not open for further replies.

Gudmundur

Member
Hi, I need to send alarms as emails to a public folder and I need to be able to verify that the email has been read/opened after it has been submitted to the public folder. There is a flag on a email message that is called IsRead but that is user specific and will thus not help in this case.




greatly appreciate any help rendered




Cheers


Gudmundur
 
Use a custom form and put code in the item's Item_Read and/or Item_Open

event handler to put information in some custom field to give you the status

report you need.

Sue Mosher

"Gudmundur" <Gudmundur.41p3v3@invalid> wrote in message

news:Gudmundur.41p3v3@invalid...

> Hi, I need to send alarms as emails to a public folder and I need to be
> able to verify that the email has been read/opened after it has been
> submitted to the public folder. There is a flag on a email message that
> is called IsRead but that is user specific and will thus not help in
> this case.

> greatly appreciate any help rendered

> Cheers
> Gudmundur

> > Gudmundur
> >
 
Or you can turn off per-user read/unread state for the PF store.

Dmitry Streblechenko (MVP)

-

"Sue Mosher [MVP]" <suemvp@gmail.com> wrote in message

news:uXDyZDhZKHA.2188@TK2MSFTNGP04.phx.gbl...
> Use a custom form and put code in the item's Item_Read and/or Item_Open
> event handler to put information in some custom field to give you the
> status report you need.
> > Sue Mosher
> > >

> "Gudmundur" <Gudmundur.41p3v3@invalid> wrote in message
> news:Gudmundur.41p3v3@invalid...
>

>> Hi, I need to send alarms as emails to a public folder and I need to be
> > able to verify that the email has been read/opened after it has been
> > submitted to the public folder. There is a flag on a email message that
> > is called IsRead but that is user specific and will thus not help in
> > this case.
>

>> greatly appreciate any help rendered
>

>> Cheers
> > Gudmundur
>

>
>> > > Gudmundur
> > > >


>
 
Hi, I need to send alarms as emails to a public folder and I need to be able to verify that the email has been read/opened after it has been submitted to the public folder. There is a flag on a email message that is called IsRead but that is user specific and will thus not help in this case.




greatly appreciate any help rendered




Cheers


Gudmundur





Hi and thanks for a prompt reply, I tried out your suggestion made a custom form based on IPM.note but when I specified that


the public folder should use the form I got an error message. I can use a custom form based on IPM.post ...but then the event handler item_read() only kicks in when posting


and does nothing for emails opened in the public folder ....is there anyway of making ipm.note custom form to work with public folder ? or if not can a custom form assigned to a public


folder somehow target emails instead of posts ? item_read() targeting emails instead of the posts in the public folder ..




I have tried disabling as well per user reads but that turns of user reads for all items in the public folder, that is all items remain in the unread state, no matter if they have been read or not




Really appreciate any help that can guide me in the right direction here...




Cheers


Gudmundur
 
Publish the form to the Organizational Forms library and use the custom form

to create the "alarms" (whatever that means).

Sue Mosher

"Gudmundur" <Gudmundur.42jb7m@invalid> wrote in message

news:Gudmundur.42jb7m@invalid...

> Gudmundur;97553 Wrote:
> > Hi, I need to send alarms as emails to a public folder and I need to be
> > able to verify that the email has been read/opened after it has been
> > submitted to the public folder. There is a flag on a email message that
> > is called IsRead but that is user specific and will thus not help in
> > this case.
>

>> greatly appreciate any help rendered
>

>> Cheers
> > Gudmundur


> Hi and thanks for a prompt reply, I tried out your suggestion made a
> custom form based on IPM.note but when I specified that
> the public folder should use the form I got an error message. I can use
> a custom form based on IPM.post ...but then the event handler
> item_read() only kicks in when posting
> and does nothing for emails opened in the public folder ....is there
> anyway of making ipm.note custom form to work with public folder ? or if
> not can a custom form assigned to a public
> folder somehow target emails instead of posts ? item_read() targeting
> emails instead of the posts in the public folder ..

> I have tried disabling as well per user reads but that turns of user
> reads for all items in the public folder, that is all items remain in
> the unread state, no matter if they have been read or not

> Really appreciate any help that can guide me in the right direction
> here...

> Cheers
> Gudmundur

> > Gudmundur
> >
 
Hi, I need to send alarms as emails to a public folder and I need to be able to verify that the email has been read/opened after it has been submitted to the public folder. There is a flag on a email message that is called IsRead but that is user specific and will thus not help in this case.




greatly appreciate any help rendered




Cheers


Gudmundur





sfsfsdfsadfsdf
 
sfsfsdfsadfsdf





Hi Sue and thank you for all your prompt replies. Seems like I have a bit of a difficulty formulating what is the exact problem that I am facing. But I think the below pretty much sums it up....






Lets assume that I need to be able to send emails to 30 cities in USA in case there is a national emergency.All of these cities share a common exchange infrastructure and public folder stores.




So I create 30 public folders, one for each city. I delegate the responsibility to one person in each city to constantly monitor the public folder for their city for new items.




There is a entirely different team that composes the emails and sends them to the public folders in case of emergency.




They can send emails to each public folder or in case of national emergency they have a distribution list that contains the email for all of the 30 public folders.






As only emergency emails will be sent to these public folders, the team that sends the emails must as well be able to monitor which city has read the emails,






if I create a custom form in outlook based on IPM.post and publish it to the organizations forms library and then specify that form to be used with the public folder




How can I post to all 30 public folders in one operation ? Or how can the team that sends the emails choose which public folders to post the emails to ?




if I use distribution lists, the team can send one email to the distribution list and it will be sent to all 30 public folders, I dont see a way to do that with custom forms ?




As always I higly appreciate your input




Cheers Gudmundur
 
Did you try what I suggested?

Sue Mosher

"Gudmundur" <Gudmundur.42twgm@invalid> wrote in message

news:Gudmundur.42twgm@invalid...

> Gudmundur;97553 Wrote:
> > Hi, I need to send alarms as emails to a public folder and I need to be
> > able to verify that the email has been read/opened after it has been
> > submitted to the public folder. There is a flag on a email message that
> > is called IsRead but that is user specific and will thus not help in
> > this case.
>

>> greatly appreciate any help rendered
>

>> Cheers
> > Gudmundur


> sfsfsdfsadfsdf

> > Gudmundur
> >
 
Did you try what I suggested?




--


Sue Mosher












"Gudmundur" <Gudmundur.42twgm@invalid> wrote in message


news:Gudmundur.42twgm@invalid...

>

> Gudmundur;97553 Wrote:

> > Hi, I need to send alarms as emails to a public folder and I need to be

> > able to verify that the email has been read/opened after it has been

> > submitted to the public folder. There is a flag on a email message that

> > is called IsRead but that is user specific and will thus not help in

> > this case.

> >

> > greatly appreciate any help rendered

> >

> > Cheers

> > Gudmundur


>

> sfsfsdfsadfsdf

>

>

> --

> Gudmundur

>

>





Hi Sue, yes I did try what you suggested, but would it not be very slow and tedious method for the operator responsible for posting the email to 30 public folders if he has to access a custom form 30 times that is for every public folder, instead of being able to use a distribution group that would contain the 30 public folders and send one email to all 30 public folders...?




With the custom form I can post into one public folder at a time and everyting works fine when I do so...but it would take to long time to do so 30 times for each public folder .....or am I missing something from the picture ?
 
Hi Sue, yes I did try what you suggested, but would it not be very slow and tedious method for the operator responsible for posting the email to 30 public folders if he has to access a custom form 30 times that is for every public folder, instead of being able to use a distribution group that would contain the 30 public folders and send one email to all 30 public folders...?




With the custom form I can post into one public folder at a time and everyting works fine when I do so...but it would take to long time to do so 30 times for each public folder .....or am I missing something from the picture ?





The problem I have now is not getting the read confirmation, that works fine with custom forms and the event sub item_open()....but how to post simultaneously to 30 public folders ?
 
Huh? I don't understand how that relates to the original objective of

verifying that an item in a folder has been read. Nothing about a custom

message form would prevent you from using a DL to send it to multiple public

folders.

Sue Mosher

"Gudmundur" <Gudmundur.42u0uy@invalid> wrote in message

news:Gudmundur.42u0uy@invalid...

> Hi Sue, yes I did try what you suggested, but would it not be very slow
> and tedious method for the operator responsible for posting the email to
> 30 public folders if he has to access a custom form 30 times that is for
> every public folder, instead of being able to use a distribution group
> that would contain the 30 public folders and send one email to all 30
> public folders...?

> With the custom form I can post into one public folder at a time and
> everyting works fine when I do so...but it would take to long time to do
> so 30 times for each public folder .....or am I missing something from
> the picture ?
 
Huh? I don't understand how that relates to the original objective of


verifying that an item in a folder has been read. Nothing about a custom


message form would prevent you from using a DL to send it to multiple public


folders.


--


Sue Mosher










"Gudmundur" <Gudmundur.42u0uy@invalid> wrote in message


news:Gudmundur.42u0uy@invalid...

>

> Hi Sue, yes I did try what you suggested, but would it not be very slow

> and tedious method for the operator responsible for posting the email to

> 30 public folders if he has to access a custom form 30 times that is for

> every public folder, instead of being able to use a distribution group

> that would contain the 30 public folders and send one email to all 30

> public folders...?

>

> With the custom form I can post into one public folder at a time and

> everyting works fine when I do so...but it would take to long time to do

> so 30 times for each public folder .....or am I missing something from

> the picture ?





Hi Sue, if i post to the Public Folder with the custom form, and then open the item I posted then the event Sub item_open() triggers.


On ther other hand if I use a DL to send an email to


the same Public Folder with the custom form, and then open the item I emailed then the event Sub item_open() does unfortunately not trigger.




That is the heart of the matter




Cheers Gudmundur
 
Did you publish the message form to the Organizational Forms library, with

the "send form definition with item" box unchecked? That's a prerequisite

for any message form to run code.

Sue Mosher

"Gudmundur" <Gudmundur.42vota@invalid> wrote in message

news:Gudmundur.42vota@invalid...

> Hi Sue, if i post to the Public Folder with the custom form, and then
> open the item I posted then the event Sub item_open() triggers.
> On ther other hand if I use a DL to send an email to
> the same Public Folder with the custom form, and then open the item I
> emailed then the event Sub item_open() does unfortunately not trigger.
 
Did you publish the message form to the Organizational Forms library, with


the "send form definition with item" box unchecked? That's a prerequisite


for any message form to run code.


--


Sue Mosher












"Gudmundur" <Gudmundur.42vota@invalid> wrote in message


news:Gudmundur.42vota@invalid...

>

> Hi Sue, if i post to the Public Folder with the custom form, and then

> open the item I posted then the event Sub item_open() triggers.

> On ther other hand if I use a DL to send an email to

> the same Public Folder with the custom form, and then open the item I

> emailed then the event Sub item_open() does unfortunately not trigger.



Hi Sue and thank you for your outstanding patience with this issue. I did publish the message form to the Organizational Forms library, without


the "send form definition with item" box hecked. So that should not be the issue. The code runs fine when posting to the public folder, that is when I Have posted something to the public folder


and open the post then the code runs. when I on the other hand email something to the public folder and then open / click on the email the code does nothing.




The custom form for the public folder is based on IPM.Post not on IPM.note ...the only reason for that is that I could not assign a custom form based on IPM.note to the public folder


I got an error message whenever I tried that.




Cheers Gudmundur
 
The "send form definition with item" box must be **unchecked**. If it is

checked, the form will one-off and will never run code.

You would use an IPM.Post form only when you want to post an item to one

particular folder. As you already explained, that's not the scenario you're

trying to implement. Since you want to be able to send to multiple folders,

the form needs to be a message form, IPM.Note.something. Users who want to

send to the folders need to create a message by invoking that form with the

Tools | Forms | Choose Form command and then send that message to the

desired folders.

Sue Mosher

"Gudmundur" <Gudmundur.42w80y@invalid> wrote in message

news:Gudmundur.42w80y@invalid...

> Hi Sue and thank you for your outstanding patience with this issue. I
> did publish the message form to the Organizational Forms library,
> without
> the "send form definition with item" box hecked. So that should not be
> the issue. The code runs fine when posting to the public folder, that is
> when I Have posted something to the public folder
> and open the post then the code runs. when I on the other hand email
> something to the public folder and then open / click on the email the
> code does nothing.

> The custom form for the public folder is based on IPM.Post not on
> IPM.note ...the only reason for that is that I could not assign a custom
> form based on IPM.note to the public folder
> I got an error message whenever I tried that.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
G Detect Google Drive and OneDrive links in incoming mail Outlook VBA and Custom Forms 3
J Transport Rule to detect Keyword question.. Exchange Server Administration 2
T VBA outlook, detect priority emails Outlook VBA and Custom Forms 5
20 Ton Squirrel Detect Application_Startup event completion Outlook VBA and Custom Forms 1
M Outlook 2003 rule to detect a blank category Using Outlook 1
M Another way to detect if email read? Outlook VBA and Custom Forms 6
M how to detect duplicate email messages? Using Outlook 5
A how to detect email is saved to draft? Outlook VBA and Custom Forms 3
J Detect logoff/shutdown Outlook VBA and Custom Forms 1
H How to get BCM in OUtlook 2007 on Vista to detect my MDF file? BCM (Business Contact Manager) 1
L Error when exporting Sent Mail to Excel Outlook VBA and Custom Forms 6
X Run macro automatically when a mail appears in the sent folder Using Outlook 5
K How can I delete an e-mail from Outlook Using Outlook 1
L Help: set flag for sent mail to check if received an answer Outlook VBA and Custom Forms 2
A Macro Mail Alert Using Outlook 4
e_a_g_l_e_p_i MY Outlook 2021 changed the format of the shortcuts for mail, calendar etc. Using Outlook 10
Z Outlook 365 Automatically assign categories to incoming mail in a shared folder Round Robin Outlook VBA and Custom Forms 1
W Outlook 365 I am getting the "Either there is no default mail client" error when I try to send an email on excel Office 365 Using Outlook 1
D Gmail mail is being delivered to a different email inbox in Outlook App 2021 Using Outlook 2
P What is your strategy for dealing with SPAM and Junk Mail? Using Outlook 1
C Code to move mail with certain attachment name? Does Not work Outlook VBA and Custom Forms 3
T 1:1 Datatransfer from incoming mail body to customs form body Outlook VBA and Custom Forms 0
O Mail rule issue Using Outlook 3
A manual rule sends mail to wrong folder Using Outlook 5
Aussie Outlook 365 Rule runs manually but returns the error code "an unexpected error has occurred" when incoming mail arrives Using Outlook 1
D ISOmacro to extract active mail senders name and email, CC, Subject line, and filename of attachments and import them into premade excel spread sheet Outlook VBA and Custom Forms 2
Witzker Outlook 2019 Macro to answer a mail with attachments Outlook VBA and Custom Forms 2
D Outlook 2003 Mail Fails Using Outlook 1
Cathy Rhone Mail merge error message Using Outlook 1
R Sent emails show iCloud mail account not the alias Using Outlook 2
D Advanced e-Mail search on from/to contact group only searches for first 20 contacts in group Using Outlook 0
P Print attachments automatically and move the mail to an existing folder called "Ted" Outlook VBA and Custom Forms 4
P Importing other e-mail accounts into Outlook Using Outlook 1
lcarpay Stay in the mail folder pane after ctrl-1 Using Outlook 1
O Exchange Sync period only (e.g. last years mail) Using Outlook 0
F Excel VBA to move mails for outlook 365 on secondary mail account Outlook VBA and Custom Forms 1
M Convertor for Outlook Express Mail Store (.dbx) to Outlook Mail Store (.pst) Using Outlook 0
T vba extract data from msg file as attachment file of mail message Outlook VBA and Custom Forms 1
J E-mail held in Outbox while Minimized Using Outlook 3
G Forward email body to other mail list directly from Exchange server Exchange Server Administration 1
T Outlook creates a copie of every mail I send Using Outlook.com accounts in Outlook 4
N Please advise code received new mail Using Outlook 0
M Outlook 2010 How could I globally redesign an outlook template form/region/inspector template used to display mail lists or an individual mails? Outlook VBA and Custom Forms 0
A How to stop user form from disapearing once mail window is closed? Outlook VBA and Custom Forms 0
M Outlook, send to > mail recipient - results in plain text email Using Outlook 1
R How to Sync *all* Google Workspace Mail Folders with Outlook 2019 (MS365) Using Outlook 3
S Outlook VBA How to adapt this code for using in a different Mail Inbox Outlook VBA and Custom Forms 0
E Having some trouble with a run-a-script rule (moving mail based on file type) Outlook VBA and Custom Forms 5
S Outlook email to configure setup for each mail Outlook VBA and Custom Forms 1
L Correct E-Mail Pulling Wrong Mail Using Outlook 5

Similar threads

Back
Top