473,395 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Email service

I have made a service which picks up records from a table which has
following columns :From,to,subject,body,status
The service, after picking up the records, loops through all the
records and sends the email for each record and updates the status as
1.

The problem is that my service fails when the record size is about
20000-25000.

Any one can suggest me a method so that i can send 20000-25000 with in
1 or 2 hours

Jan 24 '07 #1
5 1224
Wait is the purpose of sending all those emails?

Thanks,

Seth Rowe

On Jan 24, 7:03 am, "neeraj" <neeraj....@gmail.comwrote:
I have made a service which picks up records from a table which has
following columns :From,to,subject,body,status
The service, after picking up the records, loops through all the
records and sends the email for each record and updates the status as
1.

The problem is that my service fails when the record size is about
20000-25000.

Any one can suggest me a method so that i can send 20000-25000 with in
1 or 2 hours
Jan 24 '07 #2
neeraj wrote:
The problem is that my service fails when the record size is about
20000-25000.
Any one can suggest me a method so that i can send 20000-25000 with in
1 or 2 hours
*Why* would you want to send 25,000 emails?
Either you're /very/ successful and have /lots/ of customers that you
need to communicate with or you're trying to clog up the web with yet
more junk mail.

25,000 isn't a number that's significant in computing terms (like, say,
32,767) so I'm guessing it's purely a volume-related thing.

Regards,
Phill W.
Jan 24 '07 #3
The purpose of sending a lot of mails is, actually I receiving the data
from various branches of my company in a ".csv" file I just import
the that "csv" file in my sql database.
When all records got imported in data base I select the email id of all
imported data and start the service for sending his "user id" and
"Password" to registered users,

But mail sending service not working fine when amount of records is to
large. It throws "System.OutofMemoryException" when amount of
record reaches above 3000.
On Jan 24, 5:08 pm, "rowe_newsgroups" <rowe_em...@yahoo.comwrote:
Wait is the purpose of sending all those emails?

Thanks,

Seth Rowe

On Jan 24, 7:03 am, "neeraj" <neeraj....@gmail.comwrote:
I have made a service which picks up records from a table which has
following columns :From,to,subject,body,status
The service, after picking up the records, loops through all the
records and sends the email for each record and updates the status as
1.
The problem is that my service fails when the record size is about
20000-25000.
Any one can suggest me a method so that i can send 20000-25000 with in
1 or 2 hours- Hide quoted text -- Show quoted text -
Jan 25 '07 #4
Now that I'm fairly sure you're not spamming...

I know I'm not directly fixing your problem here, but why not have the
user's write directly to the database? All those attached csv files has
got to be killing your email server (if I did that here, our IT Manager
would get out his baseball bat and come after me!). Then if the
database has a notification feature, like MS Sql Server does, have it
send out the user id / password emails. That way there aren't thousands
of email flying around and resource heavy services running.

Thanks,

Seth Rowe

On Jan 25, 1:48 am, "neeraj" <neeraj....@gmail.comwrote:
The purpose of sending a lot of mails is, actually I receiving the data
from various branches of my company in a ".csv" file I just import
the that "csv" file in my sql database.
When all records got imported in data base I select the email id of all
imported data and start the service for sending his "user id" and
"Password" to registered users,

But mail sending service not working fine when amount of records is to
large. It throws "System.OutofMemoryException" when amount of
record reaches above 3000.

On Jan 24, 5:08 pm, "rowe_newsgroups" <rowe_em...@yahoo.comwrote:
Wait is the purpose of sending all those emails?
Thanks,
Seth Rowe
On Jan 24, 7:03 am, "neeraj" <neeraj....@gmail.comwrote:
I have made a service which picks up records from a table which has
following columns :From,to,subject,body,status
The service, after picking up the records, loops through all the
records and sends the email for each record and updates the status as
1.
The problem is that my service fails when the record size is about
20000-25000.
Any one can suggest me a method so that i can send 20000-25000 with in
1 or 2 hours- Hide quoted text -- Show quoted text -
Jan 25 '07 #5
neeraj wrote:
When all records got imported in data base I select the email id of all
imported data and start the service for sending his "user id" and
"Password" to registered users,
Not too sure I'd want those flying around in "Email-World". It might be
better to keep them in-house and direct your users to a secure web page
where they can collect them. But anyway...
But mail sending service not working fine when amount of records is to
large. It throws "System.OutofMemoryException" when amount of
record reaches above 3000.
Then you need to send them in smaller subsections.
Send a "batch", let your service take a breather to let the mail system
push those messages out the door, then do the next "batch".

How are you actually sending the messages?

Regards,
Phill W.
Jan 25 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Yllar2003 | last post by:
Hi! Perhaps slightly off-topic but... I want to implement a function to send emails to the registered users from my web site using ASP. The problem is that the web server provider I'm using...
5
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
19
by: Bill | last post by:
I have searched through the posts for a question like mine but have only found much more complicated responses. On single record view of a form I have an email address field. I merely want to...
2
by: Mark | last post by:
I have a service that I've built that runs on our web server. The web service has a reference to the System.Web namespace so it can use the classes titled: MailMessage SmtpMail My web...
11
by: tshad | last post by:
I have a W2003 server running my website and I am trying to set up my pages to send email using System.Web.Mail. I have pages running on this machine using CDONTS that work fine. I am using...
3
by: Gerard | last post by:
Hello I have created a windows service to monitor a database, it starts some checks when a timer elapses. The checks send emails depending on their findings. My issue is that when I created a...
1
by: Benny Ng | last post by:
Dear All, Now I just finished my winform application. And a part of that is to send email reminder to the users. It's working fine in the server that with SMTP service in Windows 2003. But now...
4
by: lucavilla | last post by:
If you go to http://europe.nokia.com/A4305060, fill the "Enter your product code:" field with the value "0523183" and press "Go" (the ending page URL varies because there's a variable session-ID in...
2
by: Smithers | last post by:
I have a service that will periodically send email messages to system adminstrators. I would like for this service to send a email notification whenever the service is started and when it is...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.