I'm developing an application that sends bulk mails and i'm using AsyncCallback, so it sends one email every 2 seconds.
So what I need is a loading on top of the screen (modal maybe?), and a counter incrementing for every email it sends, something like a counter.
I'm developing an application that sends bulk mails and i'm using AsyncCallback, so it sends one email every 2 seconds
would you please provide more detailed description about the way you send the mail?
you could post the code you use.
xandeq
and a counter incrementing for every email it sends, something like a counter.
As general. the method we create a counter is set a initial value. add 1 after a email sent successfully. then display the value in page.
As I am not clear your code. so, i didn't tell you the concrete way now.
Best regards
Cathy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
251 Points
444 Posts
Ajax loading with text showing counter/text
Mar 09, 2017 02:24 PM|xandeq|LINK
Hi,
I'm developing an application that sends bulk mails and i'm using AsyncCallback, so it sends one email every 2 seconds.
So what I need is a loading on top of the screen (modal maybe?), and a counter incrementing for every email it sends, something like a counter.
Thanks in advance!
Star
8670 Points
2882 Posts
Re: Ajax loading with text showing counter/text
Mar 10, 2017 08:09 AM|Cathy Zou|LINK
Hi xandeq.
would you please provide more detailed description about the way you send the mail?
you could post the code you use.
As general. the method we create a counter is set a initial value. add 1 after a email sent successfully. then display the value in page.
As I am not clear your code. so, i didn't tell you the concrete way now.
Best regards
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
All-Star
52683 Points
15724 Posts
Re: Ajax loading with text showing counter/text
Mar 10, 2017 08:34 AM|oned_gk|LINK
You can create app console that read data from database, send email then update send status every minute for example.
Then in web page, periodicaly check the status from db.
Suwandi - Non Graduate Programmer
Member
251 Points
444 Posts
Re: Ajax loading with text showing counter/text
Mar 20, 2017 06:15 PM|xandeq|LINK
FRONT END:
BACK END:
If you can´t understand, please ask.
Thanks!