Reply
Emailing all users in database?
Old 07-23-2004, 02:27 PM Emailing all users in database?
Junior Talker

Posts: 1
Hi, I need some help. My boss wants me to set up something that he can send email to every user (that has an email address) collected in a database (kind of like a newsletter). How would I go about doing this?

I looked up CDONTS and I found this tutorial: "http://www.aspexpress.com/tutorials/tutorial.asp?id=4". Where do I paste that code into in Frontpage? I already pasted it and saved it as an ASP page. I have a couple of questions on the code. I want to test run this using Access. How would I do this? Create some email addresses in a database then save it then how do I point that to the code? In other words, how do I set this up to test it?

I've made a simple test database with the field "Email" and saved the table as "Emails" and saved the database as "Email.mdb" and I uploaded it to my web space on Cox.net. I also uploaded the ASP file that contains the code on that tutorial and I tried the page and it doesn't work. Nothing shows up. What am I doing wrong?
tigergolf06 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-24-2004, 11:21 AM
whatNext's Avatar
Average Talker

Posts: 24
You might find this tutorial helpful as well - http://www.webwizguide.info/asp/tuto...s_tutorial.asp. I love this site.
I don't really like this script, personally.
This looks like a stand-alone script. You don't really need FrontPage for it, imho. Just paste it into Notepad and save as *.asp. I'd rather connect this script to a form though. myBody=Request.Form("body") for the script and <form action="*.asp"> for the HTML form. Also, have you contacted your server admin to be sure you can use it? At my old job, we couldn't use CDONTS for security reasons. Before you go through all the trouble, make sure you don't have to use another form of SMTP mail.

Last edited by whatNext : 07-24-2004 at 05:31 PM.
whatNext is offline
Reply With Quote
View Public Profile
 
Old 07-27-2004, 03:17 AM
Novice Talker

Posts: 7
Use For Loop to email all members in database
Arshad is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Emailing all users in database?
 

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13745 seconds with 12 queries