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

Reading attachments fails if receipt is requested...



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 29th 06, 07:06 PM posted to microsoft.public.outlook.program_vba
Ake
external usenet poster
 
Posts: 1
Default Reading attachments fails if receipt is requested...

Hi,

I do the following (from an Excel macro, if that is important)
If SubFolder.Items.Count 0 Then
For Each Item In SubFolder.Items
For Each Atmt In Item.Attachments
...saving file or whatever...

However, my macro quits, as if finished, as soon as it hits a mail that has
requested a receipt.

What is the best way to get around it? I would like to get them all in one go.

Kind regards / Ake
  #2  
Old December 4th 06, 07:06 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Reading attachments fails if receipt is requested...



You could set the e-mail's ReadReceiptRequested property to False, call Save
and reset the property later. That changes the LastModifiedTime property of
course.

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

Am Wed, 29 Nov 2006 10:06:02 -0800 schrieb Ake:

Hi,

I do the following (from an Excel macro, if that is important)
If SubFolder.Items.Count 0 Then
For Each Item In SubFolder.Items
For Each Atmt In Item.Attachments
...saving file or whatever...

However, my macro quits, as if finished, as soon as it hits a mail that

has
requested a receipt.

What is the best way to get around it? I would like to get them all in one

go.

Kind regards / Ake

 




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
Delivery receipt and read receipt not working Brad Outlook - Installation 0 November 23rd 06 08:25 PM
Help, 'requested tasks' dialog box won't go away! Uncle Vinnie Outlook - General Queries 0 May 26th 06 03:50 PM
Reading emails and attachments when offline bench2006 Outlook - General Queries 1 May 15th 06 07:21 PM
Reading attachments Frchief Outlook Express 2 March 17th 06 12:52 AM
server-requested client action message MCSA-M Outlook - General Queries 7 January 18th 06 09:24 PM


All times are GMT +1. The time now is 09:01 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.