Rebuilding Emails

C

Confussed

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
 
J

JP

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
 
C

Confussed

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top