Outlook: How to get mail from Sent Items when Send is clicked
Hi,
I would like to get the latest sent mail from the sent items when the Send button is clicked.
I have tried to save the item in the Outlook_ItemSend(mail as object, cancel as boolean) event procedure but the issues is the message is not sent until the statements in the event procedure is done .
if i use
mail (Mailitem).SAVE method it save as a mail yet to send format. I want it in a format that is Sent items folder.
thanks
Adhi
Re: Outlook: How to get mail from Sent Items when Send is clicked
You can create an event ItemAdd for a specific folder. It will fire whenever a new item is added to the folder (collection). Then you dont need to try to deal with the Send event at all. ;)
Re: Outlook: How to get mail from Sent Items when Send is clicked
If you could send me code it would be great.
Thanks
Adhi
Re: Outlook: How to get mail from Sent Items when Send is clicked
I sent you a link to this code I already had posted that does just about what you need in a reply to your PM. ;)
Re: Outlook: How to get mail from Sent Items when Send is clicked
Thanks a lot.i really helped
Re: Outlook: How to get mail from Sent Items when Send is clicked
Your welcome :)
Ps, dont forget to edit your original post subject icon to the green checkmark icon so others will know at the forum view level that your question has been answered. ;)