A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Rebuilding Emails



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 8th 08, 04:14 PM posted to microsoft.public.outlook.program_vba
Confussed
external usenet poster
 
Posts: 3
Default Rebuilding Emails

I have the job of rebuilding a large number of sent emails from raw data and
saving them as .msg files.

Everything works fine except that the email isn't marked has having been
sent, so when a user opens the file it is possible for them to (re)send the
mail (which would not be a good thing).

Is there any way in VBA of marking the message as having been sent, or not
able to be sent, before it is saved?

Thanks in advance
Paul
Ads
  #2  
Old April 14th 08, 09:47 AM posted to microsoft.public.outlook.program_vba
Confussed
external usenet poster
 
Posts: 3
Default Rebuilding Emails

Can i assume from the pervasive silence that my problem is unsolvable?
  #3  
Old April 14th 08, 05:36 PM posted to microsoft.public.outlook.program_vba
JP[_3_]
external usenet poster
 
Posts: 201
Default Rebuilding Emails

Mailitem.Sent is a read-only property.

If the messages have something in common (similar subject, sender,
etc), you can set up some event code to cancel the Send Event if the
item meets one of those conditions. Or you can use the FindControl
method of the CommandBars property to locate the "Send" control and
set its Enabled property to False. You would probably also need to
disable the Alt-S hotkey, and a few other things I can't recall at the
moment. But I'm not sure if you could do this for each message or if
it is something that would require event code.

Where are you putting the messages after you re-create them? Why not
put them in the Sent Items folder, or simply train your users not to
resend those messages?

Remember, this is a free forum with unpaid volunteers.
http://tinyurl.com/2wo6o

--JP



On Apr 14, 3:47*am, Confussed
wrote:
Can i assume from the pervasive silence that my problem is unsolvable?


  #4  
Old April 17th 08, 10:30 AM posted to microsoft.public.outlook.program_vba
Confussed
external usenet poster
 
Posts: 3
Default Rebuilding Emails

Many thanks for the reply, given the situation i'll just going to have to
make sure the clients know not to accidentally resend he mail.
Paul
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple identical emails when sending emails with picture attachm Zelfan Outlook Express 3 December 17th 07 07:38 AM
Sending Emails to around 1000 emails from one email. Anurag Outlook - General Queries 5 September 5th 07 02:35 AM
emails message icon are receiving but no emails in the inbox Mei Outlook Express 5 October 31st 06 03:14 AM
Unable to receive any emails. Can send emails OK Davidd Outlook Express 2 October 4th 06 02:30 PM
Cant send emails and can only recieve emails from one msn account [email protected] Outlook Express 2 September 25th 06 10:13 PM


All times are GMT +1. The time now is 06:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.