How Do I Send Automatic Emails After A Set Interval Of Time From My Website?
I want to send automatic emails from my website after a definite interval of time.
I need a way to execute my ASP script repeatedly without any external triggering....
I want to send automatic emails from my website after a definite interval of time.
I need a way to execute my ASP script repeatedly without any external triggering....
I am developing site in asp where I need to call a url at every interval. Is there a way to automate this. I want to call the url every 15 or 30 mins.
Cureently I have written a asp script tp call it using
Set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1")
objWinHttp.Open "GET",URL
objWinHttp.Send ' Send it.
strResponse3 = objWinHttp.ResponseText ' Get the response string from the object.
But it is not schedule..I can call it only when I rum the asp script. So is there any way I can schedule this url call for every 15/30 minutes.
Also forgot to mention : the site does not have that much traffic that I can add it in index page...there may be a user visiting the site in 5 hours time or within next 5 mins or for next 2 days there may be no visitor.
I need no send birthday emails every day. I need something to check everyday on my database for birthdays, but I don't have any components to do that and I dont have rights to install it on my webserver.
Is there a way to do it without installing anything? Only through asp?
The interval that a driver is available from 5:00:00 AM to 8:00:00 PM.... And I dont want to pick this route that runs from 10:15:00 to PM 4:00:00 AM ... because the driver is not available btw those times..However my query picks that tooo..Why?
rs3.Open "SELECT * FROM Routes " &_
"WHERE instr(Day_Runs,'"&trim(rs("sch_day"))&"') " &_
"And ( (start_time = #"&FormatDateTime(rs("sch_time_start"))&"# AND end_time = #"&FormatDateTime(rs("sch_time_end"))&"#) " &_
"OR (start_time > #"&FormatDateTime(rs("sch_time_start"))&"# AND end_time = #"&FormatDateTime(rs("sch_time_end"))&"#) " &_
"OR (start_time = #"&FormatDateTime(rs("sch_time_start"))&"# AND end_time < #"&FormatDateTime(rs("sch_time_end"))&"#) " &_
"OR (start_time > #"&FormatDateTime(rs("sch_time_start"))&"# AND end_time < #"&FormatDateTime(rs("sch_time_end"))&"#) )" ,conn
The interval that a driver is available from 5:00:00 AM to 8:00:00 PM....
And I dont want to pick this route that runs from 10:15:00 to PM 4:00:00 AM...because the driver is not available btw those times..However my query picks that tooo..Why? Code:
i want to know that how can i send automatically daily newsletter to my users.
i have started a newsletter service recently and want that everyday newsletter from database shall be sent to the users.
i also want to send newsletter on particular date in future as per selection made by the users themselves.
I'm trying to write a script that will send a automatic email either on loading the thanks you for ordering page. or the one before that where the order is placed pressing a order now button, it can only be send when the button is pressed and the order has been placed in the database.
Now I've writen a test script to figure out how this whole automatic emailing works but I can't get it to work. I hope someone can tell me what is wrong. Code:
I'm developing an application which has subscribers entered into a SQL Server database.
Their subscription is monthly, and requires that automatic emails are triggered 1 week, 2 days then 1 day before their subscription expires.
How would this be best done?
I've heard of third party cron services which could be used to trigger a script, but the script would then need to be 'open' to the web for the cron service to access it - which is not very secure.
The other option would be to trigger emails from the database directly, but I'm a total beginner at SQL so am not sure how difficult this would be?
My experience so far is limited to VBA in Windows based apps like Access, Excel etc.
Is ASP event driven like Visual Basic?
If so, can ASP cause the server time to be input into a field on a double click event?
Is there any way to add a automatically date/time when a page/script was last updated? The page is not driven on a db
View Replies View RelatedAnyone have any pointers as to how i could get asp to send some simple emails?
View Replies View Relatedis there a way of sending emails directly from iis without using an external
SMTP service?
Since I want to be able to send a confirmation e-mail (containing user name/pwd etc.) to every visitor that enters some info in a form on my web page I wonder how that is done.
I have heard about SMTP and CDO but don't know the differences or which one is applicable in my case
I'm running xp-pro and use my computer as a web server but don't know if I have SMTP installed (or how to use it if it actually is there).
What i'm looking for is an asp function which automatically runs every day at e.g. 12:00 AM and then updates a database. So no user or external event is involved to trigger the function. It operates stand alone. Hope there are some code examples available.
View Replies View RelatedI've been working with ASP for 6+ years now, but in that time I've
never had any solid advice on how to build a secure system. So I
thought I'd ask here first.
Anyway, here's the situation: I have a client who wants to take credit
card information via ASP form (https) and then send the resulting
content (which may be either HTML- or text-formatted) to their email
account, which they access using Outlook (2000, I believe). I want to
build the system to make it as secure as is reasonably possible; at
the same time, they want to make it easy to read / retrieve their
signed/encrypted messages.
I know their are a lot of components out on the market that permit
programmatic encryption of data, but I don't know enough about what I
need to make an informed buying decision. I've heard that encrypting
the email content and then signing the entire message is the proper
thing to do, but how do I actually do that via code? And I definitely
don't understand how the message is handled once it reaches Outlook
(via POP, IMAP or Exchange -- they haven't decided on which yet).
My brain is full of things such as AES, MD5 + SHA-1, SSL, S/MIME and
such -- how do I put all these things together into an effective
solution?
I need to send an .ASP page as an email template using VBScript. I'd like to do so using CDONTS or CDOSYS. the script needs to loop through a recordset and send emails using data from SQL 2000.
when i try to send using a script i built the asp page pulls in without rendering the asp. how can i pull the rendered asp into my vb for emailing?
I am getting a bit worried because not all of my emails are being sent/received. My customers fill out the form on the website and their details are emailed to me. I have filled out the form several times, and some of my details are not being sent. Code:
View Replies View RelatedI know this question is stupid. But i need some advice for this. I
am trying to develop a website, which will allow the user send to order form
to the admin email. I am planning to use the CDONTS component method.
Can I just to localhost server to test, whether the form can be send
up to the admin's email. Or I must have the Hosting server to do that. Can
Anyone suggest me, how to I test my scripts can be successfully run (at
localhost), before I host it on the Web Servers.
I have an application form and as the user finishes the application form, an email is sent to the user to notify him/her that he/she has successfully been registered...what i want to do is that another email is sent to me at the same time to notify me that a new user has registered...is there a way to do it by only defining one CDO or do i need to create two CDO(s)...i mean:
Set objMail = CreateObject("CDO.Message")
Set objMail2 = CreateObject("CDO.Message")
.
.
etc...
can someone please advice me if this is the right way?
Is it possible with ASP to schedule tasks such as the following:
A database contains hundreds of registered users. Within three days of their registration expiry an email should be automatically generated to inform all relevant users that their account will expire shortly.
A sheduled task should also run every night (say, at midnight) to remove expired accounts from the system.
I have two forms, one on each page. The user fills the first, then the second, then on the third page all the information is displayed for the user to make sure thats what they want to send.
Then they click submit on the third page and it goes through a database and depending on which category, state and county the user selected it will email all the information displayed on that third page to all the emails in the Email field in the database.
Now, I already have the first and second pages(easy enough) and the third page I can get it to display all the info how I want it and now I need to know how to go about emailing that info to the emails that match the specific fields? Right now all I have it doing on the third page, instead of submitting it for emailing, it just displays the info from the forms AND emails that match from the database. Code:
I want an automatic email to send to a user when they register, the first page looks like this, i took away all the table information and what have you ....
View Replies View RelatedWhen more than one user send data into Database same time using following code, do you think the code is correct? I concern if 2 users send data into DB same time, it is one user is ok and another is failed, or both ok, or both failed? If this happened, how to make that work? I remember syncnization/parallel thread can be used to solve this issue, but don't know how. Any suggestion and sample code? Code:
View Replies View RelatedHow to insert time stamp data into Access Database when insert other data together in ASP/.
View Replies View RelatedOn a form I have
Date_Start Date_End
I have a new
Date_Start1 Date_End1 which the use
inputs.
I need to validate that Date_Start1 and Date_End1 are a date range entirely separate from Date_Start and Date_End i.e. no overlapping whatsoever. In effect checking a date interval.Are there any functions out there already written that can do this? It seems to basic to start comparing and contracting dates! Would like to do it in Javascript, but happy in vbscript also.
i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
View Replies View RelatedI am working on asp and ms sql.
I have created a table called as 'usertable' in ms sql database. The columns in 'usertable' are username, loginid, password. The record gets added to this table, when a new user makes a fresh registration.
Eg: username = 'david'
loginid='daveuser'
password='newpass'
So My question is whenever a new user is added to a table, an automatic mail should come to me 'pra123@yahoo.com' mentioning that a new user is added to table ALONG WITH HIS USERNAME, LOGINID, PASSWORD.
All this information should come to my email account automatically. So how to write ASP Code for this.
I need to some how do the following and if anyone can help me or point me in the right direction I would appreciate it very much.
I have a form that the user would fill out. When he/she clicks submit it goes into another page that reviews the information that the user typed in the previous form. If all of the information is good for the user there's another button in that page that they would have to click.
This is what I want to happen after they click on this button. I want to record the data in a SQL database, which I know how to do that, but what I want to happen automatically right after inserting the data in the SQL database is that I want the same data to be carried over to another page where there'll be another form and want that data to be populated in this new form. How do I do that?
is it possiable in run some automatic checkups on the server every X time or every time (with no reaction with the user). I need to run all the time checkups on the sql database and check values of some column.
View Replies View RelatedI would like to backup the Remote Access database from a link on my asp application . Is it possible ?For instance, there would be a menu which once clicked will initiate login/password and ftp server, get the database and rename it with currentdate, close the connexion ?
View Replies View RelatedI want to add code to the URL so on click will be performed login action with some username and password (ex. h t t p : / / w w w . s o m e - s i t e . c o m /login&username=USER&password=PASS)
I think I wrote total nonsense, but I think you know what I am talking about
If someone want to help me here is that site I want to perform auto login: ...
if there is a way to have a page print automatically, with no dialog box when the page loads, using VBScript or Javascript. This will be an intranet application, running in IE6. I will have control over the browser settings, so those wont be a problem.
View Replies View RelatedAs u see that in yahoo messanger it provide facility for auto fill login and password for specific system. If we want to see our yahoo messanger in my personal sysem then we dont require to fill this user id and password. It automatically fills user id and password. I want to do it in asp.
View Replies View Related