Automated Email
I need to send an automated email each day (Member expiration notices). The data sits in an SQL Server but SQL Mail is not available.
Building an .asp page that makes this happen isn't a problem, but that page would have to be loaded each day for the process to run....
View Replies
ADVERTISEMENT
How I can send an automated email from ASP. In case if I want a report on the inventory of a shopping Cart Database ebveryday on aparticular time hw I can made it possible thru ASP.
I am familiar witH CDONTS and CDO.How will I initiate or set the server code to set such scedules using ASP.
View Replies
View Related
I'm trying to write a Function/Subroutine to send e-mail. I want it to create this to be used as an Include file so I can just give it the info and it will send the e-mail.
The following code works, but is now portable:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" -->
<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" -->
<% @LANGUAGE="VBSCRIPT" %>
<%
Option Explicit
Response.Expires = 0
%>
.........
View Replies
View Related
How can I write a program to send automated email to user's email address after they registered to my site.
I want my email has HTML format or even links. Not just one sentence.
Once the user click on the link or reply this email, their registration will be complete.
I am using ASP with Access Database.
View Replies
View Related
Could anyone provide asp.net code that would generate an automated email containing a users password from a database when they submit there email address. Any good sites on the subject either!
View Replies
View Related
I want to develop a little application for my intranet. There is a person who is on-call, and this person changes once a week. Rather than having the person remember to change him/herself in the system so that they are reflected as the new "person who is on-call" for their week.
Instead, I would like to automate the process by developing an application that would read a series of ID's (that reflect the people who are in the database) who will sequentially be "on-call".
My question is, how can I (through ASP/VBscript on an IIS 5.0/Win2K Platform) automatically run a set of ASP without invoking the page (so that it can automatically change the person who is "on call" every weekend.)?
View Replies
View Related
I need to send a set of Emails from my application (reminders) each month
1st. Is there anyway in ASP scripts to trigger an event to run
automatically? I have no dedicated server, so no DLLs or Scheduler scripts
can be used. Also adding the trigger script in the application object may
not send emails in time, as we have not enough visitors to that application.
Is there any way other than 'Clicking a Send button'
View Replies
View Related
How do I create an app that will send out emails automatically based on some criteria? Is it possible? I have some projects in a db and I would like to send emails at the end of the day to certain people in the project if that project has been update.
These emails would be sent some time between the end of a business day and beginning of another but only if the project has been updated that day. That is if someone updates project1 today, I need to send an email out sometime between today and tomorrow only for project1 but not for project2, project3, etc. I would like this to be some automated app.
Update: I have created a report in Crystal Reports that contains the reports I need to send. If anyone can direct me somewhere I can find out how to do this in either plain old ASP, ASP.Net by itself of using CR it would be great.
View Replies
View Related
i want automated translation of Classic ASP to ASP.Net?Any software out there to do this?
View Replies
View Related
My team would like to use an ASP script to have an automatic transfer of files to our live server happen each evening at a predetermined time. I was looking on the web for a script but all I could find is user driven upload scripts.
Is there anything out there that will facilitate automatic uploads of several folders and files via ASP scripts?
View Replies
View Related
I am design an web application that requires information mation to be created from tables once a day, once this information has been created it is stored temporarily in another table until the folowing day. The problem is that to creat this information a seperate .asp page has to run.
I would like this page to run early in the morning when no one is in the building and accessing the servers. I have tried using windows scheduler... this works but still needs a user to press ok on the internet security password screen we have set up. Is there any other way to get the page to run without using the browser, or to change the page into a dfferent format??
View Replies
View Related
Ok, this is a true testament to the fact that "If you work more on the design process, you spend less time in the development process."
Anyways, I am looking for an ASP based solution (ideas, I like writing the code!) for the following situation. I have read multiple articles saying that "You should never store passwords unencrypted in a database", in as much what I do is store the passwords in one way Hash MD5 encryption (can't decrypt it)
So after working for 5 hours on a getting a nice automated system that emails the user their username and password depending on the username/email address they supplied, I noticed in the email that I sent myself, that the password was a MD5 hash.
Great; all that for nothing.
When I've lost my passwords, I've seen "reactivate your account" links in emails where the user clicks on a HUGE links (the querystring is the big part) and it takes them to a page where they can do something in order to have some random password override their old password, which they can then of course log back into their control panel and change it to something more memorable (I wuv my control I made)
Anyways, you guys got an ideas how they do this, or by what method I should use to get the safest and most secure results.
I want to make sure that through both information/password changes (should I automate it and let user change PW or should they always request that change from me) and with automated pw recovery / account reactivation, that I never accidentally lock them permanently out of their accounts.
View Replies
View Related
I have a booking system that allows a user to book a room for a set time period of a day, what i want to do is on the day that the room is booked for is send an email to the person that booked it.
I can already send an email thats not an issue i have all the other information other than the ability for the site to on its own with no user input send an email so when it comes to the day they have the room booked for at 8.30 am i want the site to check all bookings and email the person responsible, make sense?
View Replies
View Related
How do I put a carriage return in the body of an email sent from the asp? Also I am
getting an error with this test code:
sendFrom="LoanerPool"
SendTo=Request.Form("NTechOut")
strSubject="Automated Checkout Response (do not reply)"
strBody="This is an automated response from the loanerpool."
set MailObject = Server.CreateObject("CDO.Message")
MailObject.From = sendFrom
MailObject.To = sendTo
MailObject.Subject = strSubject
MailObject.HTMLBody = strBody
MailObject.Send
The error is:
Error: The "SendUsing" configuration value is invalid.
View Replies
View Related
I have one registration form with "submit" button. I don't know how to make protection from automatic submit (with picture and security code)?
View Replies
View Related
when we register a email account, it hv a picture that got few words inside, n ask us to write the word to prevent automated registration attack. wat is this techinque called ? n anybody got this sample code ?
View Replies
View Related
i am sending automated mails once a person registers to the site using CDONTS, but this mail does not reach persons with msn or rediff maild's , i have tried using CDOSYS, even this is of no help.
View Replies
View Related
most websites make use of CAPTCHA to prevent automated Form submission. give me examples of how automated Form submission can be achieved? It's not that I intend to do some nefarious activities; rather I don't understand how can automated Form submission be done other than the website developer coding it (for e.g. using JavaScript to automatically post a Form, say, after 2 minutes).
View Replies
View Related
Is there any way I can call an ASP script (script.asp) on a regular basis? There are several catches:
I have no access to the server setup
I might have access to the global.asa (but might not)
I have no SQL Server
If this is one of those things that are just impossible, is there a service out there that will call a URL on a regular basis for low cost? It's not a very intense operation, basically it is called once a day.
View Replies
View Related
I am developing a automated website creation process for our members. They are being walked through a series of pages that gather input and make template selections etc... The problem I have is when the scripts execute I get permission denied on the section of code that connects to IIS and creates the new site.
The only way around this so far is to set IIS directory security (on the folder that has the scripts) to log in automatically with a domain admin account. I of course do not want that to be the case. Here is the line of code that bombs out.
set objservice = getobject("IIS://venus/w3svc")
The script pages are located on the same server. I have tried using a local admin account (not good either) with no luck.
By the time this line is run the directory has been created the appropriate files copied over and database has been filled with appropriate info. This seems to be my last issue to overcome.
View Replies
View Related
how to create automated MailMerge which creates a form letter using SQL connection using ASP?
View Replies
View Related
Im running a simple mail system program which emails newsletters to a database list of 3000+ users.
The program loops through a database containing the emails and sends them out using ASPEmail.
My question is, is there some way i can validate each email address so that if there are invalid characters e.g. the space in "blah @blah.com"
it will skip the record and continue the loop.
At the moment i have a working program however, whenever the program comes across an invalid email address it stops at that record and prevents the program from emailing any further.
View Replies
View Related
I am having a problem formatting an email message which comes from a form.
I am currently having difficulty with the <br> tag which I am using for line spaces within my email. I am getting an expected statement error message which is pointing to the line which is underlined below. I can't think what is causing this.
The code for my processing page is below:-
View Replies
View Related
1. I want users to type in their email address on a textfield, and after users press the "Submit" button. The info will automatically go to another person's email to receive a compliment, suggestion, etcetera.
2. Another is how to include the message written on a textarea of a form with the ASP code supplied below: Code:
View Replies
View Related
how to write to check verification valid email thru nslookup or mx record or dns record. Is it possible to do that. Is there any tutorial from sitepoint, previously found it but i lost the link.
example to check assume test@domain.com is not a real email, abc@domain.com is real email
how do u check it.
View Replies
View Related
i used the following script but it won't send the email. any suggestions why?
<%
Dim TBdy
Dim MyCDO
CR = Chr(13)
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Importance = 1 (Normal)
MyCDO.Send
Set MyCDO = nothing
%>
View Replies
View Related
Just starting to play with scripts, and need a little guidance. I want to check to make sure that the email addresses users enter in a form are identical before it will allow them to submit. here's what i have:
the variable for the second email address is EmailFrom2
'validation
Dim validationOK
validationOK=true
If (Trim(EmailFrom)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("emailerror.htm?" & EmailFrom)
If (Trim(Name)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("nameerror.htm?")
If (Trim(CityState)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("citystateerror.htm?")
If (Trim(SchoolName)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("schoolnameerror.htm?")
View Replies
View Related
here is the script i use:
Set myMail=server.CreateObject("CDO.Message")
myMail.Subject="subject"
myMail.From="me"
myMail.To=request.form("email")
myMail.TextBody="hello"
myMail.Send
set myMail=nothing
this script sends emails to some addresses but not others--and its based on the email service it's sending to. for instance, hotmail email addresses get the email, but mail.com email addresses dont get the email. i have tried sending it to other email hosts, too, and still, some work, some don't. what is going on here?
View Replies
View Related
I am using CDONTS component to send email in ASP.
The code is some thing like this:
Dim Mail
Set Mail = Server.CreateObject("CDONTS.Newmail")
mail.From = "abc@hotmail.com"
mail.to = "xyz@hotmail.com"
mail.subject = "Test Email Subject"
mail.body = "This is Email body message"
mail.send
Now the question is that this code will use the Default Virtual SMTP Server in IIS, but I want to use my ISP's SMTP server. please tell me how to do this. I have used my ISP's email server in Outlook express and it is working fine. Please do not suggest to use "CDO" or "CDOSYS" to use for sending emails because I must have to use "CDONTS".
View Replies
View Related
When you select the "Country" field in a Hotmail "get new account" link, the field "State" changes automatically, giving you the correct States that belongs to the chosen Country.
View Replies
View Related
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
View Replies
View Related
I've created an com+ application for sending emails with multiple attachments.The component looks like this:
Public Function SendMail3(toAddr, whoAddr, docSubj, docMsg, ByVal docType As Integer, Optional cc = "", Optional bcc = "", Optional sFolder = "", Optional user = "")
On Error GoTo MailErr
Set oFlds = oConf.Fields
oFlds(cdoSendUsingMethod) = cdoSendUsingPort
oFlds(cdoSMTPServer) = SMTPSrvr
oFlds(cdoSMTPServerPort) = SMTPPrt
oFlds(cdoSMTPAuthenticate) = cdoBasic
oFlds.Update
Set oMail = New CDO.Message
oMail.From = whoAddr
oMail.To = toAddr
If (cc <> "") Then
oMail.cc = cc
If (bcc <> "") Then
oMail.bcc = bcc
If oFSO.FolderExists(sFolder) Then
Set oFolder = oFSO.GetFolder(sFolder)
For Each oFile In oFolder.Files
If InStr(oFile.Name, "_" & user) > 0 Then
oMail.AddAttachment oFile.Path
FileSize = Format((FileLen(oFile) / 1024) / 1024)
SumSize = SumSize + FileSize
oFSO.DeleteFile (oFile)
End If
Next
End If
End If
End If
If ((docType Mod 2) = 0) Then
oMail.TextBody = docMsg
Else:
oMail.HTMLBody = docMsg
End If
If (SumSize > 10) Then
ErrorStrMail = "Attachment size too large!"
GoTo MailFlee
End If
oMail.Subject = docSubj
Set oMail.Configuration = oConf
oMail.Send
MailFlee:
Exit Function
MailErr:
ErrorStrMail = Err.Number & ":" & Err.Description
Resume MailFlee
End Function
When I call this component from an asp page,I don't get any error,but the mail doesn't work.....did I do something wrong?
View Replies
View Related
I have set up an interactive database with a .asp page requesting information to include an email address. After receiving a response and viewing the database no email address is entered. How do I set up my table to except an email address?
View Replies
View Related