Solved

setting "do not send before" with code

Posted on 2006-11-13
1
328 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
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).
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 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