cancel
Showing results for 
Search instead for 
Did you mean: 

Email Snap batch or delay between sending each message

peter
New Contributor III

I have a pipeline which sends hundreds of messages, however my email gateway start to block the messages. We this this is because we are logging into the mail account to many times in a short period of time.

Is there a way to batch up the message or have a short delay between sending each message?

1 ACCEPTED SOLUTION

Great solution, thanks @bojanvelevski

View solution in original post

9 REPLIES 9

Great solution, thanks @bojanvelevski

Hi @darshthakkar 
I tried the code,but its taking more than 20 seconds.

peter
New Contributor III

I get an error when I run the script, Failure: Failed to connect Remote Python Executor,

Do I need to set up an account?
If so where do I get the token?

bojanvelevski
Valued Contributor

Use the Script snap instead of Remote Python Script

peter
New Contributor III

Worked like a dream.

Thanks