To do something like this, you have to write your own workflow that makes the actual HTTP mail step by step.
Before sending, you need to check whether the operation is paused and stop sending the contents of the file before it resumes.
However, depending on the server, the connection may be closed if it is inactive for a certain period of time, and this may be only a few seconds.
source
share