jan
|
| Posted: 06/16/2004, 5:24 AM |
|
hi im new to ccs and would like to know if anybody here could somehow help me. im new to web programming and all. my problem is i want to email automatically and alert our clients that their rent is about to expire already.their date details and all are located inside an access database. how can i do that in ccs, asp, access,win nt? please, any help and direction would be much appreciated, thanks.
|
|
|
 |
sorin
|
| Posted: 06/24/2004, 3:32 AM |
|
Just look at JMAIL for asp . Is simple to install . Here is an sample :
Dim JMail
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "mail.medanet.ro"
JMail.AddHeader "X-Originating-IP", Request.ServerVariables("REMOTE_ADDR")
JMail.AddHeader "X-Originating-URL", Request.ServerVariables("URL")
JMail.Priority = 1
JMail.Sender = "Anybody"
JMail.AddRecipient "anybody@test.com"
JMail.Subject = "Client: " & trim(Session("NameID")) & " - " & survey.subiect.value
JMail.ContentType = "text/html"
JMail.Body = survey.mesaj.value &"<br><br> Posted by: <br>" & survey.numele.value
JMail.Logging = True
JMail.Execute
|
|
|
 |
|