Solved

Automating the Delayed Sending of Your Emails - Outlook

Posted on 2008-10-30
3
280 Views
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.

Thanks

Arm
0
Comment
Question by:ArmstrongInt
3 Comments
 
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.  
0
 
LVL 92

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")
                Else
                    'do nothing
                End If
            Case Else
                Item.DeferredDeliveryTime = Date + 8 - Weekday(Now, vbMonday) + TimeValue("7:30 am")
        End Select
    End If

End Sub
0
 
LVL 1

Accepted Solution

by:
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 ?

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I need help using System.Web.HttpUtility.HtmlEncode in my VB.Net application 3 54
Help me. 3 43
Microsoft Edge, Outlook OWA 7 38
exchange, outlook 4 12
Resolve DNS query failed errors for Exchange
Read this checklist to learn more about the 15 things you should never include in an email signature.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…

929 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

11 Experts available now in Live!

Get 1:1 Help Now