473,806 Members | 2,878 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Email service

I have made a service which picks up records from a table which has
following columns :From,to,subjec t,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 1246
Wait is the purpose of sending all those emails?

Thanks,

Seth Rowe

On Jan 24, 7:03 am, "neeraj" <neeraj....@gma il.comwrote:
I have made a service which picks up records from a table which has
following columns :From,to,subjec t,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.OutofMe moryException" when amount of
record reaches above 3000.
On Jan 24, 5:08 pm, "rowe_newsgroup s" <rowe_em...@yah oo.comwrote:
Wait is the purpose of sending all those emails?

Thanks,

Seth Rowe

On Jan 24, 7:03 am, "neeraj" <neeraj....@gma il.comwrote:
I have made a service which picks up records from a table which has
following columns :From,to,subjec t,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....@gma il.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.OutofMe moryException" when amount of
record reaches above 3000.

On Jan 24, 5:08 pm, "rowe_newsgroup s" <rowe_em...@yah oo.comwrote:
Wait is the purpose of sending all those emails?
Thanks,
Seth Rowe
On Jan 24, 7:03 am, "neeraj" <neeraj....@gma il.comwrote:
I have made a service which picks up records from a table which has
following columns :From,to,subjec t,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.OutofMe moryException" 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
1807
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 does not support any email components (such as CDO, CDONTS, or third-party) or SMTP server. Therefore I'm looking for some free email/SMTP provider which enables
5
2640
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 depending on member expiration dates. When the form is submitted, the code loops through the form contents and sends an email to those members that meet the selected criteria. All this worked perfectly when I was sending text emails, but since I
19
2806
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 create a button that will email the same message (and idealy a word attachment) to whatever address is in view on the form (chances are that I just input it). For further explanation:
2
1710
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 server uses these classes just fine. I can't seem to get my service to send email. Is there an inherent problem with sending email from a service and/or using the System.Web namespace from a service project?
11
1869
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 our exchange server to send the mail but am getting an "Unable to relay" message. But the "From" name is my email address, which is obviously on our exchange server, so there is no relay. The message I get back is:
3
4561
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 windows application it worked fine, however I need to use a service as I don't want to rely on a user being logged in. The errors I get are: Index #:System.Web.HttpException: Could not access 'CDO.Message' object. --->...
1
2959
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 the user wants to used the Linux server to send email messages. (already installed the SMTP service in that). Unfortunatelly one error shown after the sending funciton invoked. It shows "Pickup directory is not existed,x,x,x,,"
4
449
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 the URL-link associated to "Go") you will obtain this string: "Version: RM43_V1.10.030" Is it possible to have a string.php page that just display this string? how can I do it?
2
1867
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 stopped. I placed attempted to do that from the OnStart event procedure... but any messages sent during the OnStart procedure are not sent. But when the service is stopped, the email messages from both the OnStart and OnStop event procedure are sent. ...
0
9719
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10371
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.