Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



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

Posts: 1
Trades: 0
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
 
 
Register now for full access!
Old 07-24-2004, 12:21 PM
whatNext's Avatar
Average Talker

Posts: 24
Trades: 0
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 06:31 PM..
whatNext is offline
Reply With Quote
View Public Profile
 
Old 07-27-2004, 04:17 AM
Novice Talker

Posts: 7
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.13984 seconds with 12 queries