|
-
Aug 17th, 2007, 03:49 AM
#1
Thread Starter
Addicted Member
[RESOLVED] [2005] Draft is not cleared
I've a project code which generates and send an email to the specified recipient. the process is completed successfully but a copy of mail generated lefts in the draft. Please anybody tell me how I can avoid this copy from draft.
-
Aug 17th, 2007, 05:15 AM
#2
Re: [2005] Draft is not cleared
What is the code you are using to generate the mail?
-
Aug 17th, 2007, 05:57 AM
#3
Thread Starter
Addicted Member
Re: [2005] Draft is not cleared
I'm using MailItem object to create a message and Redemption SafeMailItem for sending and delivering the mail. it sents the mail successfully but not clears the Draft folder as a copy keeps in draft and I wants it not to be there.
as mail is already used or delivered.
-
Dec 5th, 2007, 07:34 AM
#4
Thread Starter
Addicted Member
Re: [2005] Draft is not cleared
I've not obtained the reason for mail to be in Draft Folder instead of Sent Items even after delivering the message to the specified email id in Outlook 2007. but my problem was to get clear the draft for that autogenerated mail. and this can be done by setting the value of DeleteAfterSubmit()=True and this resolved the problem.
-
Dec 5th, 2007, 07:47 AM
#5
Re: [RESOLVED] [2005] Draft is not cleared
That should always be the Sent Items folder. How did you manage to change it?
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 
-
Dec 6th, 2007, 01:10 AM
#6
Thread Starter
Addicted Member
Re: [RESOLVED] [2005] Draft is not cleared
In practical the message should be moved to Sent Items and I was also expecting the same but this was not happening in the Outlook 2007. in the product I just have created a mail item with subject+body+attachment and then passed it to redemption object to send the mail where it saved this in draft to be synchronize with send/receive of the outlook and on completion the process mail was delivered but In case of Outlook 2003 the nature was as expected. i.e. mail moved to sent items folder after delivery but not in case of Outlook 2007. the mail is always in draft folder even after delivery this can misguide the user about not sent the mail but in actual the mail is already delivered. so this was needed not to be there after delivery.it doesnt matter where it goes but user should be informed by deleting it from draft.
if you have any reason of mail to be in draft even after delivery please help me to convey the same to me.
Thanks for showing interest.
-
Dec 11th, 2007, 10:30 PM
#7
Re: [RESOLVED] [2005] Draft is not cleared
I would contact the support staff at redemption as I believe its their issue of not handling operations correctly or completely. Using straight Outlook code works fine.
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 
-
Dec 14th, 2007, 04:52 AM
#8
Thread Starter
Addicted Member
Re: [RESOLVED] [2005] Draft is not cleared
The problem is with redemption library for Outlook 2007 in v4.1 and this problem was fixed in v4.3 (informed from redemption support). and the latest version of redemption.dll is v4.4 which is compatible with Outlook 2007 and resolves the problem.
Thanks too all for taking interest.
-
Dec 14th, 2007, 11:12 AM
#9
Re: [RESOLVED] [2005] Draft is not cleared
No problem. 
Btw, this is a good example of why I dont like to rely upon third party controls that dont keep up with new versions. You are at their mercy until , and if, they get around to updating their control/code.
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
|