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.:confused:
Printable View
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.:confused:
What is the code you are using to generate the mail?
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.
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.
That should always be the Sent Items folder. How did you manage to change it?
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.
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.
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.
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.