|
-
May 10th, 2001, 08:22 AM
#1
Thread Starter
Addicted Member
Mail application
Hi guys
I have a web based administration tool to view an access database that I have on the web server. On this I can see a list of e-mail address of customers. I want to be able to send a mail to all of the customers on this list one a month, a news letter type of thing. Can someone offer me some guidance on how to go about doing a project like this. I have to keep it all web based.
Cheers
JK
-
May 10th, 2001, 06:34 PM
#2
Good Ol' Platypus
I am also trying to achieve EMAILing status for my site,
I need to send the users emails when:
- They haven't logged in and their accounts will be terminated
- They have just signed up
- They have a new PM (Private Message)
- Their site has been processed, when sending in info pages
I am using a server object to create this but dont know where to start, so I am trying to use a book.
I can post it in a minute.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 10th, 2001, 06:40 PM
#3
Good Ol' Platypus
Once you have a SMTP server object installed in IIS, then you can use this code to get you started.
Code:
<%
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.To = "[email protected]"
objMail.From = "[email protected]"
objMail.Value("Reply-To") = "[email protected]"
objMail.Subject = "This is a TEST"
objMail.Body = "Test Message Test Message -BODY- Test Message"
objMail.Send
Set objMail = Nothing
%>
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
May 11th, 2001, 03:53 AM
#4
Originally posted by Sastraxi
I am also trying to achieve EMAILing status for my site,
I am using a server object to create this but dont know where to start, so I am trying to use a book.
I can post it in a minute.
What you can do is when a user login on your site you can save the current date and time to check it for later.
Just make sure that your site is checking everyday for the date when the first user is viewing your site.
Use Application object for your date control. Lets say
you have your current date and place it in a application session.
Code:
Application.Lock
Application ( "CurrentDate" ) Date
Application.Unlock
And let it check for the Date everytime someone is viewing your page.
Code:
If Not Application ( "CurrentDate" ) = Date Then
' new day has come.
End If
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
|