Home | Advertising Info518 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, June 23, 2018  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Send Multiple Emails To Multiple Users
From: Ryan Chandler
Date: 9/13/2000 2:48:45 PM


I tried to write a code that can send multiple emails to multiple users. I want that each user will recieve different email message. Could anyone help me with this. Thanks a lot in advance.

This is my code:<HTML>
<!-- DATE DE CREATION: 31/08/00 -->
<META NAME="Description" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Author" >
<META NAME="Generator" CONTENT="WebExpert">

Dim oConn, request, strsql

strSQL = "SELECT * From tblMemo Where tblmemo.datesend Like %" & date & "% Order By id asc"
strSQL = "SELECT * From tblMemo Order By id asc"

Set oConn = CreateObject("ADODB.Connection")
oConn.Open "memo"

Set rq = oConn.Execute(strSQL)

Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "smtp.mlink.net:25"


JMail.Sender = "PLanete Quebec"

Do While Not rq.EOF

JMail.Subject = rq("title")
JMail.AddRecipient rq("nameto")

JMail.AddRecipient rq("emailto")

JMail.Body = rq("message")





if JMail.Execute then
Response.Write("Les messages sont envoyés")
else if rq("datesend") <> date then
Response.Write("Ily a pas de message à envoyer")


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2018 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com