Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 7th, 2004, 11:15 PM
Authorized User
 
Join Date: May 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default Srting

Hi,

I have a string variable which it contains more than 4000 email address.forexample strEmail="[email protected],[email protected]" like this in a comma, separated format,Now i need email using CDONTS.i would like to put it in the BCC but i do how storage Bcc will accept.so i need send by batch by 1000 at a time how to divide the values in the strEmail into 4 and send it by batch
regards,
Deep

 
Old September 8th, 2004, 03:49 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

hello,

  i have an odd logic.

split the string into array using

arrEmail=split(strEmail,",")


Find the ubound of the array and divide into four groups.
var1=ubound(arrEmail)/4












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