|
-
Mar 1st, 2004, 10:03 AM
#1
Thread Starter
Lively Member
Subscriptions DB for a web site
Hi all,
I am building a web site for a company and they need to have a page where users can leave their name and e-mail address. The company can then use the email addresses to send their newsletter to.
How should I go about this? A simple access db with an asp page can capture the e-mails, but then hwo do I go about turning the table into contacts that they can easily email?
Thanks
You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!
-
Mar 2nd, 2004, 02:27 PM
#2
Junior Member
depends on how they plan on doing their mailing.
If they're going to send huge batches, you will need to write some sort of routine that
1. pulls all the email addresses out of access
2. use something like CDONTS to send out the email.
the EASY way (if you don't have a ton of recipients) is
1. pull all email addresses out of access
2. loop through it to create a long string delimited with a semi colon .. then paste this string into the BCC field in outlook before sending out the email.
-
Mar 4th, 2004, 08:50 AM
#3
Member
Is The Company wanting to personalise the Newsletter with the persons Name?
What Format is the Newsletter In RTF or HTML ?
Hope to hear from you soon
Hacker Neo
ASP/VBS/VB & ASP.NET Developer
Cumbria UK
####################################
If It Move's Script it / or hack if that's your way
####################################
-
Mar 7th, 2004, 06:26 AM
#4
Thread Starter
Lively Member
Hi
its an RTF mail and yes, I would like to include their names.
Thanks in advance
You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!
-
Mar 8th, 2004, 03:32 AM
#5
Member
Ok then following may be slow but as far as I can see I may be the best course of action for you is to use CDO and construct the RTF Letter in a string to be EVal() by the asp page and sent to the contact but in order to do this you need to to a
do while note rsObj.EOF
//cdo code goes here//
Loop
I'll find my old cdo code and construct the cdo you need and post It later I hope this helps
Hacker Neo
ASP/VBS/VB & ASP.NET Developer
Cumbria UK
####################################
If It Move's Script it / or hack if that's your way
####################################
-
Mar 9th, 2004, 07:02 AM
#6
Thread Starter
Lively Member
I will be super grateful if you could do that for me.
Many THANKS
You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!
-
Mar 9th, 2004, 09:43 AM
#7
Member
Need to know the operating System company for the right e-mail connctivity to use for you
Hope to hear from you soon
Hacker Neo
ASP/VBS/VB & ASP.NET Developer
Cumbria UK
####################################
If It Move's Script it / or hack if that's your way
####################################
-
Mar 9th, 2004, 10:21 AM
#8
Member
If Company OS = 2yk +
Then here is the code
Code:
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "Sender Address"
objEmail.To = "Client Address"
objEmail.Subject = "Server down"
objEmail.HTMLBody = "<h1>This is some sample message html.</h1>"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = _
"Your EXCHANGE Server"
objEmail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objEmail.Configuration.Fields.Update
objEmail.Send
If you need help getting it to integrate with your DB for sending let me know send me e-mail @ [email protected]
Hope this help you
Regards
Hacker Neo
ASP/VBS/VB & ASP.NET Developer
Cumbria UK
####################################
If It Move's Script it / or hack if that's your way
####################################
-
Mar 15th, 2004, 01:33 AM
#9
Thread Starter
Lively Member
Thanks buddy, I will try this out....
You are living a pacifist dream, and if you dreaming it means you sleeping and you should damn well wake up!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|