| | Awarded by Microsoft since 2005: |  |
| | VBOffice Info | | Visitors | 1390000 | | Impressions | 5091965 |
| |
|
| |
| Author: Michael Bauer | Homepage | | Date: 19.11.2008 | Accessed: 13979 | | | | Description
In Outlook you can set to request a read receipt from the recipients of your e-mails. You could also set this on a single e-mail level.
The following extension enables Outlook to request or not to request a read receipt depending on the recipient. That is, it adds the ability to automatically make exceptions from your general setting.
The variable 'Request' controls whether a read receipt should be requested (True) or not requested (False).
The variable 'Addresses' holds the e-mail addresses. You can enter full e-mail addresses or domain names. Please customize both variables for your needs, and enter your addresses delimited by a comma.
Please note: It's always the recipient's decision whether or not he will actually send you a requested read receipt. You can't influence that. |
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If TypeOf Item Is Outlook.MailItem Then
SetReadReceipt Item
End If
End Sub
Private Sub SetReadReceipt(Mail As Outlook.MailItem)
Dim i&, y&
Dim Adr$
Dim Recipients As Outlook.Recipients
Dim Addresses As Variant
Dim Request As Boolean
Request = True
Addresses = Array("abc@domain.de", "@domain.com")
Set Recipients = Mail.Recipients
For i = 1 To Recipients.Count
Adr = Recipients.Item(i)
For y = 0 To UBound(Addresses)
If InStr(1, Adr, Addresses(y), vbTextCompare) Then
Mail.ReadReceiptRequested = Request
Exit Sub
End If
Next y
Next i
End Sub
|
| | |
| | |  | ReplyAll alerts you before unintentionally replying all, or if you are a confidential BCC recipient of the ... [more] |
| | |  | Access the master category list in the blink of an eye, share your categories in a network, get a reminder service, and ... [more] |
| | |  | SAM automatically sets the sender, signature, and folder for sent items, for instance based on the recipient ... [more] |
| | |  | OLKeeper reliably prevents users from closing their Outlook window and thus possibly missing reminders or ... [more] |
| |
|