Question regarding how to keep mail messages in Outbox (perhaps for a
prespecified period of time) before sending. I hope this will allow the
user to check the mail items one last time before "releasing" them.
I know that I can incorporate this feature in my VBA codes and set the
DeferDeliveryTime property at runtime. I want to find out if there's any
other way of accomplishing the same thing. Here's what I looked at:
1. rules wizard. MSDN and Outlook's Help refers to the wiard as being able
to delay delivery of messages. But I don't see how. It seems to aim at
filtering messages more than anything else.
2. append codes to the Message form. I can then use the Send event to set
the DeferDeliveryTime property. But how do I create a reference to the Mail
object in the code? Is there something like "set olMail = ThisMailItem"?
Any suggestion will be appreciated. Thanks,
JC
"J.C." <nos...@nospam.com> wrote in message
news:ti29sql...@corp.supernews.com...
> Hi,
>
> Question regarding how to keep mail messages in Outbox (perhaps for a
> prespecified period of time) before sending. I hope this will allow the
> user to check the mail items one last time before "releasing" them.
>
> I know that I can incorporate this feature in my VBA codes and set the
> DeferDeliveryTime property at runtime. I want to find out if there's any
> other way of accomplishing the same thing. Here's what I looked at:
>
> 1. rules wizard. MSDN and Outlook's Help refers to the wiard as being
able
> to delay delivery of messages. But I don't see how. It seems to aim at
> filtering messages more than anything else.
Did you try creating a new rule for outgoing items, not incoming? You can
set deferral from 1 to 120 minutes.
> 2. append codes to the Message form. I can then use the Send event to
set
> the DeferDeliveryTime property. But how do I create a reference to the
Mail
> object in the code? Is there something like "set olMail = ThisMailItem"?
In VBScript code on an Outlook form, the intrinsic Item object refers to the
current item.
"Sue Mosher" <sue...@slipstick.com> wrote in message
news:#0mmeJF8AHA.2120@tkmsftngp02...
> See comments below ...
>
> "J.C." <nos...@nospam.com> wrote in message
> news:ti29sql...@corp.supernews.com...
> > Hi,
> >
> > Question regarding how to keep mail messages in Outbox (perhaps for a
> > prespecified period of time) before sending. I hope this will allow the
> > user to check the mail items one last time before "releasing" them.
> >
> > I know that I can incorporate this feature in my VBA codes and set the
> > DeferDeliveryTime property at runtime. I want to find out if there's
any
> > other way of accomplishing the same thing. Here's what I looked at:
> >
> > 1. rules wizard. MSDN and Outlook's Help refers to the wiard as being
> able
> > to delay delivery of messages. But I don't see how. It seems to aim at
> > filtering messages more than anything else.
>
> Did you try creating a new rule for outgoing items, not incoming? You can
> set deferral from 1 to 120 minutes.
How do you set the rules for outgoing items? Outlook online help does say
that you can create rules for outgoing messages and I have tried. But
whenever I open up Rules Wizard, it only allows me to choose preset rules
type (e.g., "Apply this rule after I send the message", etc), nothing on
outgoing message or "Apply this rule WHEN I send the message". How can I
delay delivery if the message has already gone out?
>
> > 2. append codes to the Message form. I can then use the Send event to
> set
> > the DeferDeliveryTime property. But how do I create a reference to the
> Mail
> > object in the code? Is there something like "set olMail =
ThisMailItem"?
>
> In VBScript code on an Outlook form, the intrinsic Item object refers to
the
> current item.
Problem I encountered was: How do I save the form so that it will replace
the default Message form? I did use VBS and when I tried to save, the form
went into Draft folder. When I publish the form it went to Personal Forms.
I did have the code (adding say 10 minutes to time now and pass that to the
DeferDeliveryTime property of item) right.
>
>
>
"J.C." <nos...@nospam.com> wrote in message
news:ti2fda7...@corp.supernews.com...
> > > 1. rules wizard. MSDN and Outlook's Help refers to the wiard as
being
> > able
> > > to delay delivery of messages. But I don't see how. It seems to aim
at
> > > filtering messages more than anything else.
> >
> > Did you try creating a new rule for outgoing items, not incoming? You
can
> > set deferral from 1 to 120 minutes.
>
> How do you set the rules for outgoing items? Outlook online help does say
> that you can create rules for outgoing messages and I have tried. But
> whenever I open up Rules Wizard, it only allows me to choose preset rules
> type (e.g., "Apply this rule after I send the message", etc), nothing on
> outgoing message or "Apply this rule WHEN I send the message". How can I
> delay delivery if the message has already gone out?
"Apply this rule after I send the message" is what you're looking for. These
rules change the message before delivery.
> Problem I encountered was: How do I save the form so that it will replace
> the default Message form? I did use VBS and when I tried to save, the
form
> went into Draft folder. When I publish the form it went to Personal
Forms.
> I did have the code (adding say 10 minutes to time now and pass that to
the
> DeferDeliveryTime property of item) right.
Save = save item in a folder
Publish = publish the form for reuse
To change the default message form, you can use the forms substitution tool
that Microsoft provides for Outlook 2000. See
http://www.slipstick.com/dev/newdefaultform.htm#sub
Cannot publisher the Message form with VBS to replace the standard one,
either.
I'm not using Office Developer. Is that necessary?
"Sue Mosher" <sue...@slipstick.com> wrote in message
news:etmyRKG8AHA.1880@tkmsftngp05...
What specific problem are you having with publishing the message form?
Office Developer is not necessary.
--
Sue Mosher, Outlook MVP
Author of
Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours
Microsoft Outlook 2000 E-mail and Fax Guide
Outlook and Exchange solutions at http://www.slipstick.com
"J.C." <nos...@nospam.com> wrote in message
news:ti2mcfm...@corp.supernews.com...
FYIO: With Exchange 2000 Server it stays in the Outbox.
--
Siegfried Weber
Microsoft Most Valuable Professional (MVP) - Exchange Server
Co-author of "Professional CDO Programming", Wrox Press 1999
CDOLive - The Premier Resource for Microsoft Messaging and Collaboration
Application Development
http://www.cdolive.com
Please reply to the newsgroups so that others can benefit from the
discussion.
Questions by e-mail are discarded without further notice - filter active.
I tried the rule on another machine connected to Exchange Server and the
rule works as expected.
The difficulty I have with publishing the form is: I want to replace the
default message form with one that has VBS in it. In order for that to
happen, don't I need to publish the new form as "Message" form to replace
the default? Now, the "message" form is in the Standard Forms Library, but
I can only publish to Personal Forms Library, so I cannot publish over the
old "message" form and the email messages are still using the old form sans
VBS.
I must be missing some steps here, I figure.
"Sue Mosher" <sue...@slipstick.com> wrote in message
news:#4Bw#MH8AHA.2068@tkmsftngp03...
But is it possible to make the Rules Wizard works without Exchange Server?
The machine I am working on has OL2000 Corporate Workgroup, with internet
email service added, no Exchange Server.
Thanks.
"Siegfried Weber [MVP-Exchange]" <in...@cdolive.com> wrote in message
news:#wHfdkI8AHA.2016@tkmsftngp03...
"J.C." <nos...@nospam.com> wrote in message
news:ti9hisi...@corp.supernews.com...
"J.C." <nos...@nospam.com> wrote in message
news:ti9i5bn...@corp.supernews.com...
The rules wizard works. The delivery option was set with the correct
n-minute delay. Separately, I also created a new message and set the
delivery delay option manually. Despite correct delivery setting, the
results for both experiments are the same: the messages went out
immediately without any delay. In fact, when I first tried to check the
outgoing message in the Outbox, I got a message that says the "MAPI spooler
has started" sending the job, or words to that effect.
The rule wizard works perfectly on Exchange.
Sue, this workstation only has internet email service (not IMO though,
'cause it's set up to be CW). What do I need to do? MSDN (KB for that
matter) doesn't have any information on this. Could this be a problem with
the product?
I do not want to let the user goes back to OLEXP, but at the moment, that's
the only solution I can think of.
"Sue Mosher" <sue...@slipstick.com> wrote in message
news:#Mn3V7o8AHA.1992@tkmsftngp02...