Solved

setting "do not send before" with code

Posted on 2006-11-13
1
307 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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now