|
-
Sep 23rd, 2005, 04:42 AM
#1
Thread Starter
Addicted Member
recall message
I am starting with a program for recalling a message from outlook.
i.e. :You can retrieve a sent email message before the addressee has opened it.
If anyone have any idea or links plz tell me.
-
Sep 23rd, 2005, 07:45 AM
#2
Thread Starter
Addicted Member
Re: recall message
I am getting all the sentmessages from outlook by this:
Code:
Dim oSentFolder As Object
Set oSentFolder = oNameSpace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail)
Now for each sent message i have given read reciept request, but how will i come to know that mail have been read.
i.e.
For Each Sentmail In oSentFolder.Items
if sentitem.-----?----- then
delete the message
end if
next
-
Sep 24th, 2005, 10:58 AM
#3
Re: recall message
A Read Receipt is optional for the receiver to either send confirmation back to you or Deny sending confirmation. If they confirm then you will receive an email back from them stating that it was Read.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 26th, 2005, 07:41 AM
#4
Thread Starter
Addicted Member
Re: recall message
is there any other way to know recepient have read or not my message?
if rec. has already read my mail then i will not send recall message to him.....
but if he has not read my mail then i will send him a recall mail and if he opens recall mail before original mail then original mail should get deleted from his inbox.
-
Sep 26th, 2005, 11:48 AM
#5
Re: recall message
As I have stated, you can only tell if the receipient has read your email by Requesting a Read Receipt. Now if the receipient chooses not to confirm then there is nothing you can do other then give the person a call.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 27th, 2005, 04:12 AM
#6
Thread Starter
Addicted Member
Re: recall message
We can do this in outlook.
OPen sent mail.... goto actions..........recall message....
So i think thre has to be some way to do this using vba.
-
Sep 27th, 2005, 07:08 AM
#7
Lively Member
Re: recall message
v_gyku, you would have to check all the Read-Reciepts you get back and test each from your list of people you sent mails to, and generate a list from there, then send out recalls accordingly. Have I ever heard of such a thing being done code wise, uh...no.
I have to agree with RobDog, probably a longshot.
-
Sep 27th, 2005, 10:13 AM
#8
Re: recall message
Both you and the receipient of the email message MUST be using Exchange Server. You can not recall a message from someone using an POP3 email account. So since its still only at best minimal chances, its not possible.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 27th, 2005, 08:56 PM
#9
Lively Member
Re: recall message
Agreed. And why would anyone want to do this by code anyway when the method of recalling is pretty easy manually (if it is really considered manual)
-
Sep 29th, 2005, 06:10 AM
#10
Thread Starter
Addicted Member
Re: recall message
I search a lot and i got one possible way.... I want to share it with u... (Is it possible?)
by using id of the toolbarbutton for recall i can execute recall message button of outlook......
-
Sep 29th, 2005, 09:18 AM
#11
Re: recall message
You need to use Outlook with Exchange Server. You must be connected to a functioning Exchange Server mailbox.
Also, you can not use it if...
• The recipient is not using Outlook.
• The recipient is not logged on to the mail service provider.
• The message has been moved from the Inbox.
• The message has been read.This includes viewing the message with the Preview Pane so that the message is flagged as Read.
• The message has been deleted.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 15th, 2005, 01:04 AM
#12
Thread Starter
Addicted Member
Re: recall message
Hi Gurus !
Some developement in my code for recalling a message.
I am selecting sent message from a listview on a form.
I am able to open the selected message and click recall message button for the selected message.
Now dialog box is coming asking for delete unread copies ............
So i want to access this dialog box programatically.. so that user dont have to do anything with actual outlook.
When the user selects recall this message on my form i should be able to click options in this dialog box programatically....
Robdog what u say? Is it possible?
Thanks...
-
Oct 16th, 2005, 01:23 PM
#13
Re: recall message
Not without writting C++ code or a very sloppy ActiveX workaround because once you .Execute the menu item to perform the recal, the thread is haulted until control is returned back to your app/add-in. You would need to create an out of process ActiveX EXE to hook the dialog window and use APIs to make your selections and click the button.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|