Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 28th, 2004, 05:04 AM
Authorized User
 
Join Date: May 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default CODNTS urgent ?

i am Using CDonts for sending mail to my customers in ASP
Here i have one doubt - that is I am goin to send one message(same to all for my customers) so i am Using Bcc Prperty.Here my doubt is How much Size that BCC can accept ???
I have 5000 customers
Thanks in Advance
Murali.A

 
Old September 29th, 2004, 12:53 PM
Authorized User
 
Join Date: Jun 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I thnik the maximum number of mails you can send using CDonts depends on the SMTP server settings.
Like my computer shows default 20 emails per connection.
try to set the maximum outgoing mails per connection as per your needs on your server.
hope it works

 
Old October 1st, 2004, 12:24 PM
Authorized User
 
Join Date: Sep 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

if ur sending the same email to everyone, why dont u just use a loop to loop through all of ur users??? ie set up the loop so that it sends emails to each one ur users email addresses.. This is the easiest way..



DJWright
 
Old October 5th, 2004, 07:19 AM
Authorized User
 
Join Date: May 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have to retrive User from DB2 DB that is in another server and laso in mainframe region i have got around 50000 customers when i retrive from DB i have to check the lot of crendential in WHERE condn also so surely it will give timed out error,for that purpose only i am goin for this one

 
Old October 5th, 2004, 11:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hey Murali,

The one mentioned by iniro refers to number of messages per connection=20. As per SMTP server settings the number of receipients per message is default to 100, which can be changed to a bit higher value, if required, but not too high. So you may connect to you DB to retrieve all the recipients and loop through to send mails to thise recipients in a bunch of 100, that was you would require to loop through a maximum of 500 times. I would suggest you use this in a VBscript file and schedule it as a task on the OS to run at different intervals till it send out to all the recipients, than running it as an ASP file, since this might timeout, if it takes more time to loop through.

Hope that explains.
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old October 22nd, 2004, 01:52 PM
Authorized User
 
Join Date: Apr 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

u can use server.timeout property to increase time of execution.

put server.timeout in the top of page. like:
<%@ Language=VBScript %>
<% Server.ScriptTimeout = 200 %>

200 is showen number of seconds. The default is 90 seconds. You can increase it as your desire, like 2000, 100000 etc.

Then you can retrive values from database and email then by using loop.

i am sending 100,000 emails daily by using this.

From
Burhan







Similar Threads
Thread Thread Starter Forum Replies Last Post
urgent deb_kareng ASP.NET 2.0 Professional 1 August 13th, 2007 07:29 AM
it's urgent deb_kareng ASP.NET 2.0 Professional 3 August 7th, 2007 07:40 AM
urgent help yash_coolbuddy_forindia BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 May 7th, 2007 08:40 AM
urgent???????????? nsr35 Beginning VB 6 1 October 3rd, 2005 10:57 AM
urgent ??????????????? nsr35 Pro VB Databases 0 October 3rd, 2005 04:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.