Automating the Delayed Sending of Your Emails - Outlook

Posted on 2008-10-30
Medium Priority
Last Modified: 2012-05-05
Hi there

I know you can manually set an email to delayed in outlook in the options of the message, I am wondering if there is a way of automating this.

For example so they 'hold' if they are written between 7.00 pm and 7.30 am to send at 7.30 am.  The same for any written in the weekend - I would like to 'hold' them until 7.30 am on the following Monday.

I am sure it won't be possible Blackberry mail (we have BES 4.0). This would just be for specific user/s.

Any ideas would be appreciated.


Question by:ArmstrongInt
LVL 76

Expert Comment

by:David Lee
ID: 22839829
Hi, ArmstrongInt.

I don't know how the Blackberry figures into the question.  Are you asking if it's possible to do this with messages sent via Outlook or from a Blackberry?  If Outlook, then I might be able to accomplish this with a bit of scripting.  If from the Blackberry, then I've no idea.  
LVL 93

Expert Comment

by:Patrick Matthews
ID: 22839851
This will do nothing for Blackberry, but something like it may work for Outlook.  It goes in the
ThisOutlookSession module...

Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    If Item.Class = olMail Then
        Select Case Weekday(Now, vbMonday)
            Case 1 To 5
                If Time < TimeValue("7:30 am") Then
                    Item.DeferredDeliveryTime = Date + TimeValue("7:30 am")
                ElseIf Time >= TimeValue("7:30 pm") Then
                    Item.DeferredDeliveryTime = Date + 1 + TimeValue("7:30 am")
                    'do nothing
                End If
            Case Else
                Item.DeferredDeliveryTime = Date + 8 - Weekday(Now, vbMonday) + TimeValue("7:30 am")
        End Select
    End If

End Sub

Accepted Solution

ArmstrongInt earned 0 total points
ID: 22876837
Hi Guys

Sorry for the late reply, been off sick.

The user is happy to this via outlook manually as it will be for only a few emails, however when she does it the message was sent out at 07.00 on monday morning however  it still says sent 31 Oct 19.25 (when it was sent) which defeats the purpose.

Any ideas ?


Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

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.

Join & Write a Comment

Let us take a look at the scenario, you have a database that is corrupt and you run the ESEUTIL command only to find you are unable to repair it. How do you now get the data back?
This tutorial summarizes the causes behind"an unknown error prevented access to the PST File”.  It also suggests the various solutions to fix the problem.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

621 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