setting "do not send before" with code

Does anyone have any Outlook VBA code for setting the "do not send before" value for an email object?
purplesoupAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
David LeeConnect With a Mentor Commented:
Greetings, purplesoup.

Assuming that olkMessage is a MailItem, then this will work

    olkMessage.DeferredDeliveryTime = #12/1/2006 9:00:00 AM#

This would set the message to be delivered at 9:00 AM on December 1st of this year.

Cheers!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.