View Single Post
  #4  
Old April 16th 07, 06:59 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Read Receipt - VBA



Please set a breakpoint (f9) on the first row and send a test mail. The code
execution stops at the breakpoint and you can walk trough it step by step
with f8. See what happens. do you get an error?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:
http://www.vboffice.net/product.html...&lang=en&pub=6


Am Fri, 13 Apr 2007 14:44:00 -0700 schrieb bhardwajrishi:

It is not working for me. Id does not turn ReadReceiptRequested. I have
tested it .. .. Any suggestions

"Michael Bauer [MVP - Outlook]" wrote:


If one of the recipients is " then it turns
ReadReceiptRequested. What do you expect?


--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - The most effective way to assign Outlook categories:
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Thu, 12 Apr 2007 18:30:03 -0700 schrieb bhardwajrishi:

Hi All,

Can some one please check .. what is wrong with this .. I am using it on
outlook 2003 and it does not work ..

' ThisOutlookSession:

Option Explicit

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As

Boolean)
If Item.Class olMail Then Exit Sub
Dim r As Recipient
For Each r In Item.Recipients
If StrComp(r.Address, ", vbTextCompare) =

0
Then
Item.ReadReceiptRequested = True
MsgBox "Requesting Read Receipt from " & r.Name
End If
Next
End Sub


Ads