+ Reply to Thread
Results 1 to 5 of 5

staggered email send

Hybrid View

  1. #1
    Registered User
    Join Date
    08-01-2007
    Posts
    4

    Re: staggered email send

    In case anyone else requires this, I solved it by using the following code:

    Set Mail_Object = CreateObject("Outlook.Application")
    Set Mail_Single = Mail_Object.CreateItem(0)
    With Mail_Single
    .subject = email_subject
    .To = Email_Send_To
    .cc = Email_Cc
    .BCC = Email_Bcc
    .HTMLBody = emailbody
    .DeferredDeliveryTime = DateAdd("n", 1, Now)
    .send
    The deferred time bit adds one minute to the send as a function of the email with outlook. In the email send loop, this can then be set by a count and delaying each email by a further 1 minute (or whatever you choose) to stagger them.

  2. #2
    Registered User
    Join Date
    05-02-2021
    Location
    Auckland, New Zealdn
    MS-Off Ver
    2008
    Posts
    1

    Re: staggered email send

    Hey okmijn,

    Thanks for that code. However I seem to only be able to delay the send for the whole batch.

    Is there a way I can delay the send for each email created in the merge? e.g. One email is sent, then 1 minute later the next email sends, and so forth?


    Thanks
    MC

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: staggered email send

    Quote Originally Posted by mc84 View Post
    Hey okmijn,

    Thanks for that code. However I seem to only be able to delay the send for the whole batch.

    Is there a way I can delay the send for each email created in the merge? e.g. One email is sent, then 1 minute later the next email sends, and so forth?


    Thanks
    MC
    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1