Pause / Continue Sending Mails

Hi ,

Is it possible to pause the sending of mails and continue from there?

Ie, I have to send a mail to a mail list which contains 100 email ids. I have created the mail message using aspose. after sending 50 mails I want to pause the sending for sometimes. And After that the system should send mails only to the remaining mail ids…

Is it possible using Aspose.Network???

Thanks
Jaz

Hello Jaz,

I think you can use a database to store the remainder email addresses, then retrieve them and resume the job when need, do you think this way will satisfy your scenario?

Hi,

Thanks for the reply

Let me Explain the Scenario…

I have a mail list which contains 100 mail lists and I have created a message too. Also I have 3 buttons…
1)Send
2)Pause
3)Continue… On clicking Send button the system should start sending… If I click Pause button it should stop the sending and then on continue button it should resume the sending from where it is paused
ie, after sending 50 mails if I am clicking Pause, Then on clicking Continue button it shoud resume sending from 51st mail id?

Is it possible to implement using Aspose.Network???


Thanks and regards
Jaz

Hello,

???

Hi Jaz,

I think your application is able to implement your scenario by integrating with a database:

1. After the messages were created, store the recipients into the database with a flag column(Y/N) to indicate if the mail had been sent.

2. Once the mail was sent out, modified the flag column to be Y

3.If pause and continue was clicked, just select all the rows in the database that the flag is N and resume the sending job.

Hope this will help.

Thanks