Help to send mails with delay in asp.net c#.

G

Guest

Hi,

I am newbie developing a MailList program in asp.net c#.

To avoid be considered as a span, a would like to process some messages,
stops, process some messages, stops......

What do you recommend ?

Help!!!

Thanks
 
G

Guest

Why do u need such a scenario? are u trying to reduce the process or something?
R. Thomas
 
L

Lau Lei Cheong

I think you can System.Threading.Thread.Sleep() for some time between the
loop.

Sorting the Mail-list int the way that the email-address with same domain
get seperated may help too.
 
G

Guest

Hi,

Thanks for your response.

Can you help me sending a link of a simple Thread tutorial? I only found
"complex tutorials".

I already have a column with the domain for each message, but I am with
doubt about process this in a ASPX page ( presentation tier), I am thinking
about some way to invoke it from a .bat using a schedule manager. I am coming
from JAVA, in asp.net c# do we have something like a servlet ?

Do you have idea about how to invoke HTTP URL from CMD ?

PS: I am think about send blocks of 50 messages from diferent domains.


Thanks,

Max
 
G

Guest

Hi Thomas ,

Is something diferent from apsx page on asp.net(C#) that could be invoked
isolated ?

If I can develop a isolated component and call this component from CMD .

I can schedule it and leave the component working .

Any ideia ?

Thanks a lot
Max
 
G

Guest

Usually things like mailing is done by batches..
The batches run on specified shcedules and is invisible to the user..
I dont understand why u need to stop and process when its sending mails...
Hth...
R. Thomas
 
L

Lau Lei Cheong

Actually I don't think the idea of sending mass email through an ASP.NET
application is good at all.

He should write an standard application to do it.
 
L

Lau Lei Cheong

That's probably because most spam killers will determine your email server
is sending spam if it receives certain amount of email from the same sender
within a short period.
 
L

Lau Lei Cheong

Max said:
Hi,

Thanks for your response.

Can you help me sending a link of a simple Thread tutorial? I only found
"complex tutorials".

Manage the skill of multi-thread application will require some study so
there's basically no simple tutorial on it.
And the application you're writing actually doesn't require to use threading
things.
I already have a column with the domain for each message, but I am with
doubt about process this in a ASPX page ( presentation tier), I am thinking
about some way to invoke it from a .bat using a schedule manager. I am coming
from JAVA, in asp.net c# do we have something like a servlet ?
That'll be wise thing to do. Given you've got the data in database a tiny
windows console application will be good enough. Writing a service that'll
schedule itself to send the mail will be better.
Do you have idea about how to invoke HTTP URL from CMD ?
Answered by others. "C:\Program Files\Internet Explorer\iexplore.exe
http://your.site" will do too.
PS: I am think about send blocks of 50 messages from diferent domains.
I've heard domains like Sina have lower limit. Better keep it lower than 30.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top