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

Read Receipt - VBA



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 13th 07, 03:30 AM posted to microsoft.public.outlook.program_vba
bhardwajrishi
external usenet poster
 
Posts: 3
Default Read Receipt - VBA

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
  #2  
Old April 13th 07, 06:56 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Read Receipt - VBA


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

  #3  
Old April 13th 07, 11:44 PM posted to microsoft.public.outlook.program_vba
bhardwajrishi
external usenet poster
 
Posts: 3
Default Read Receipt - VBA

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


  #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


  #5  
Old April 17th 07, 05:31 PM posted to microsoft.public.outlook.program_vba
Mike
external usenet poster
 
Posts: 14
Default Read Reciept Problem

Are you creating an email and making the it contain a read reciept?

That is what I'm trying to do but I can't figure it out, because I don't know the code to add a read reciept.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
  #6  
Old April 18th 07, 06:46 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Read Reciept Problem



MailItem.ReadReceiptRequested = True

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

Am Tue, 17 Apr 2007 08:31:23 -0700 schrieb Mike:

Are you creating an email and making the it contain a read reciept?

That is what I'm trying to do but I can't figure it out, because I don't

know the code to add a read reciept.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com

 




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
Read receipt rob Outlook Express 5 December 29th 06 10:11 PM
Delivery receipt and read receipt not working Brad Outlook - Installation 0 November 23rd 06 08:25 PM
Read receipt [email protected] Outlook - General Queries 0 October 12th 06 09:31 PM
Why would someone get a read receipt if it wasn't set Crimson Outlook - General Queries 4 August 6th 06 10:55 PM
Read Receipt jeffatsc Outlook - Installation 0 March 28th 06 06:03 PM


All times are GMT +1. The time now is 06:47 AM.


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.