Email Function For Automated E-mails
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
ADVERTISEMENT
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
View Related
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
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
When i get a record in my form i want to check the expiry date in that record. If expiry date is today's date then i want to send an email to the admin asking him to renegotiate the tender. Comparing the date i am doing in javascript and if dates are same then i m marking a variable as true. I m puttin this variable's value in a textbox. Now i want to check in asp that if this variable is true then send email.
View Replies
View Related
how do I add this to my form? I don't understand.
Function chkEmail(sEmail)
Set objRegExp = New RegExp
searchStr = "^[w-.]{1,}@([da-zA-Z-]{1,}.){1,}[da-zA-Z-]{2,3}$"
objRegExp.Pattern = searchStr
objRegExp.IgnoreCase = true
chkEmail = objRegExp.Test(sEmail)
End Function
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
I have emails sending no problem on other sections of the site but the following piece wont send
Where email is stored with a email variable from stored procedure i tested it and the value is the.....
Dim RegMail
Set RegMail = CreateObject("CDO.Message")
RegMail.From = "somone@gmail.com"
RegMail.To = email
RegMail.Subject = "ISM Mock Theory Test"
RegMail.TextBody = BodyText
RegMail.Send
Set RegMail = Nothing
View Replies
View Related
Is it possible to generate private key and afterwards apply the CA digitaly signed certificate within CDO code so I can send signed e-mails?
View Replies
View Related
I want to write a code for sending mails using CDO object in ASP. can it is possible to send mail without mentioning name of smtp server.I am using 2k3 O.S. Also one more problem i am facing , i want to send a mail in HTML format, when receipient receive that mail some times it shows in proper HTML formated mail but some times it not showing(it just shows html tags in mails) . I am using .htmlbody property of cdo object.
View Replies
View Related
I have done a ASP Prog where when the user submits the form an email is sent to the resp person.The problem is all the mails are going and sitting in the mail folder and are not moving from there to the mail id's. Can anyone tell me what i would have missed? Code:
View Replies
View Related
I was just wondering what the requirements are on my computer system if I want to be able to receive e-mails (to my own mail server and not through the mail server of my ISP). I already have a functioning SMTP-server, but I guess that only works for outgoing mails, or is there maybe a way I can send mails to this SMTP-server?
Do I need a fixed IP-address? Do I need so kind of special software like Win 2003 server or maybe Exchange Server? Do I need my own domain name? Anything else I need to bear in mind if I want to have my own incoming mail server?
View Replies
View Related
I have a code to send an email in my asp application. But if i send a
mail through this asp code i am not to get the trademark((tm)) symbol in
my subject line.
View Replies
View Related
how to send mails through ASP. I know it can be done through CDO or CDNTOS objects. But it is not working. Is there any settings i have to chage for it? I am using Win2000 prof. Server IIS.
View Replies
View Related
I'd like to be able to write an ASP page that users can enter requests in. When a new request is entered, the page would e-mail a list of recipients and inform them of the new request. I've never done this and really have no idea where to start.
View Replies
View Related
I am looking for a way to read & download my e-mails from my pop3 account from another server by using ASP(vb)
If you know anything about this subject please feel free to let me know. I learn how send but not receive.
View Replies
View Related
Can somebody tell me, How can we send e-Mails with ASP without using CDONTS?
Because some one told me that, it's possible to send e-Mails without using CDONTS. But i don't know how.
View Replies
View Related