cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule mail for later date and time

plnarayana777
Verified Partner
Hai All,

Can any one suggest how to schedule mail to deliver later on (date and time)

Thanks in Advance

Regards
Lakshmi Narayana

------------------------------
Lakshmi Narayana Pemmasani
------------------------------
1 BEST ANSWER

Helpful Answers

mkumar407
Level 7
Hi Lakshmi,

You can customize Codes --> MS Outlook Email VBO  - Action Send Email 
Add below lines before mail.Send
mail.DeferredDeliveryTime = DateAdd("n", <delay in minutes>, Now)

Replace <delay in minutes> with amount of time in minutes need to wait before sending email wrt to current time.
Or you can replace "n" with below values as per need.
13242.png
Thanks

------------------------------
Manish Kumar
------------------------------

View answer in original post

5 REPLIES 5

mkumar407
Level 7
Hi Lakshmi,

You can customize Codes --> MS Outlook Email VBO  - Action Send Email 
Add below lines before mail.Send
mail.DeferredDeliveryTime = DateAdd("n", <delay in minutes>, Now)

Replace <delay in minutes> with amount of time in minutes need to wait before sending email wrt to current time.
Or you can replace "n" with below values as per need.
13242.png
Thanks

------------------------------
Manish Kumar
------------------------------

@Manish Kumar , I believe it would be a great help if you turned this content into teaching material and posted it here on the forum, I found it interesting​

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil

Hi @Emerson Ferreira,

Just a line of code is required to be added in Send Email Action before send.

mail.DeferredDeliveryTime = DateAdd("n", <delay in minutes>, Now)

This will set below delivery option "Do not deliver before" in Outlook and mail item will remain in Outbox till deferred time.
 
13247.png

Regarding DateAdd function you can refer​ MS docs here.

------------------------------
Manish Kumar
------------------------------

Hai Manish Kumar 

Thanks for your Response and one more request for which already one thread is opened
Please check the link below
https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&MessageKey=949eac4e-5c24-4b0c-ae0e-adb6e39ccefc&CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&tab=dig...

Thanks once again

Regards
Lakshmi Narayana

------------------------------
Lakshmi Narayana
------------------------------

Thanks Lakshmi, have tried to suggest workaround for your other query. 
You also might want to try latest VBO MS Outlook Email VBO from DX portal to send emails.

------------------------------
Manish Kumar
------------------------------