.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 13th, 2003, 03:42 AM
udayjdesai udayjdesai is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 23 udayjdesai User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 22 m 19 sec
Reputation Power: 0
Sending Multiple Emails

Hi Everyone<br><br>I have a table in database called personal_details with many fields including email, now I want to send multiple email to the users getting the values from the database. Now depending on the number of emails and records per page there should be a paging and when I start clicking the number that respective emails should go i.e. there are 100 emails in the table and the navigation is based on 10 emails per page so there will be 10 pages i.e. 1,2,3,...,10. Now when I click on 1 emails to first ten email address should go, when I click on 2 emails to next 10 emai address should go and so on. How can I do so. I am using VB.NET.<br><br><br>Thanks in advance,<br>Uday.

Reply With Quote
  #2  
Old March 19th, 2003, 03:51 AM
aspemail aspemail is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 10 aspemail User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Make DB Connection, get all the Records, concatenate the EMailIDs in to a Single variable<br>say the variable is AllUsersEMailID = "user1@somemail.com,user2@somemail.com,user3@somema il.com"...<br><br>Some Exchange Server uses "," a7 some ";" as seperator. you might want to check that.<br><br>Rest is here<br><br>Dim objMsg<br>Set objMsg =wscript.CreateObject("CDO.Message")<br>With objMsg<br> .From = "YourEMailAlias"<br> .To = AllUsersEMailID <br> .Subject = "Some Subject"<br> .HTMLBody = "HTML Content If any"<br> .TextBody = "Message of the Email"<br> .Send<br>End With

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Sending Multiple Emails


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT