Results 1 to 9 of 9

Thread: [RESOLVED] [2005] Draft is not cleared

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    243

    Resolved [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.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [2005] Draft is not cleared

    What is the code you are using to generate the mail?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    243

    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.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    243

    Resolved 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.

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    243

    Resolved 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.

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Jul 2007
    Posts
    243

    Resolved 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.

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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
  •  



Click Here to Expand Forum to Full Width