Solved

setting "do not send before" with code

Posted on 2006-11-13
1
338 Views
Last Modified: 2012-05-05
Does anyone have any Outlook VBA code for setting the "do not send before" value for an email object?
0
Comment
Question by:purplesoup
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 17929168
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

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question