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!
ken any 1 enlighten me on wat to do for the following:
im suppose to allow user to enter their particulars in this registration for, following which Im suppose to auto generate a password and email it to them at the same time(after they have submitted their registration form).
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.
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.
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.
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 %>
I want to send customers and automatecly generated email once they submit a form/place order. I've been searching the net for a whille but I haven't been able to find any usefull information.
I have an asp page that collects data on referrals. The user inputs the information and selects the rep to receive the referral. My data is being saved to a backend database (SQL) and the user is receiving a confirmation page after hitting the Submit button. Now, what I need is a way to have an email sent to the rep that is selected in the drop down list on the asp form. I have a SQL table containing the reps and corresponding email addresses. Is it even possible to achieve what I am trying to do? I am trying to avoid sending a blanket email to a single address and having someone filter them from there.
i've got a client that wants to be able to review records about IIS generated emails.
in his own words, he wants the "ability to track and report message status (i.e. how many messages were sent successfully, how many were blocked, how many bounced back with an incorrect address)"
i'd start by adding a new row containing the email address, dateTime, etc when first sending the email, but how to track the rest of the info? for instance, if an email bounces back, does it bounce back to IIS or to the "from" email address? what about the blocked (i.e. spam filter) emails? is there a way to track blocked email? since most spam filters don't generate response emails, there's not much i can really do about this, is there?
this will be run off an IIS6 server. can anybody tell me my options?
Is it possible to create a blog on Asp?how can i create a page where you can't access unless log in by user name and password. Link to tutorial works just fine for me!
it is possible to get the name and the password of a system user? E.g. I have a login page and I have one user on my server myserveruser1 which has the password "pass1" The web user iserts the username and the password in the login page: can I check these fields with the user on my server (if user inserted = "user1" and pass inserted = "pass1") then ....
I lethe user enter a username and password and through a SQL-statement I check if there is a corresponding password in the database (Yes I know, not very good security but for the moment it's enough). Problem is that when I enter a false user/password, I want the code to redirect to another .asp-page which states the user is not valid. Problem lies within the statement "if rsMOS is nothing then response.redirect "VWGloginAgain.asp" ". Somehow, the code does not return 'nothing' but something else. How do I figure out what it returns? Or, how can I make sure it returns a 'nothing' when no such password is found in the database? Here's my code snippet ('usr' and 'ww' are defined earlier; furthermore I've left out the redirects, but I've tested the first if-then-conditions and they work fine... Just the 'nothing' does not work):
i have created a page for users to enter their details into a table,i.e. name, e-mail address and password,i also want these + other details to be e-mailed to the user when he clicks the submit button,how is this done?
if it's possible to allow regular windows domain users to change their passwords through an .asp page? I'm trying to figure out the best way to handle domain users to log into an .asp application tied with SQL Server 2000 on the back end since I keep reading that windows authentication is better practice to log into SQL Server.
I'm trying to access an access database by including the DB's password within the connection string. I try to connect to the DB, but I get and "Incorrect Password" error. What am I doing wrong?
set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0"; uid=admin; pwd="pass" conn.Open(Server.Mappath("maindb.mdb")) set rsUpdateEntry = Server.CreateObject("ADODB.recordset")
I am currently writing a little gadget where users can create, delete, alter... tables in a database. Some kind of MyAspAdmin... Everything works fine as long as I specify the MSSQL-Login-Infos database, user and password.
But if I want to make it possible to switch from one database to another, here comes the problem: The user has to choose a database that he wants to work in, and type in user and password.
I need the (probably very easy) solution, how i can check if this user/password/chosen_database combination is correct. Code:
By using <authentication mode="Forms" > in web.config, we can create self-designed login page, but how to check user's account and password is vaild in another domain controller?
Does <authentication mode="Windows"> can have self-designed login page?
i've done an encryption for the password and a password retrival page for the user. now when the email is sent the password(which is decrypted of course) is displayed as haha%%--%% instead of just haha(an example). Code:
I need to get the userName from an Email address. For example, if the email is Join Bytes!, how can I can I get just the "username" part using the RIGHT() or LEFT() functions?
Does anyone know if its possible to create and email HTML forms. Email recipients would then input information to these forms in the same way that they would on a web page. Pressing the submit button would mail the form back, after which it would be separately submitted to an ASP page on the web server for processing.
The main reason for this is so we don't have all the issues associated with firewalls and security to deal with. Our corporate mail servers will strip out viruses so that not a problem.
i have designed and implemented an asp site that allows users to register online and they decide what password they want , but i want to be able to include code that will send a mail to the user on registering thanking him/her for registering with the site.
Set cdoMessage = Server.CreateObject("CDO.Message") Set cdoMessage.Configuration = cdoConfig cdoMessage.From = "admin@nyc-discusfanatics.com" cdoMessage.To = strEmail cdoMessage.Subject = "NYC-Discusfanatics.com User Registration" cdoMessage.HTMLBody = "<html>" &_ "<body>" &_ "Hello "&strUName&"<br/><br/>" &_ "Thank you for registrating with NYC-DiscusFanatics.com Please activate your account by clicking the link below.<br/><br/>" &_ "<a href='http://www.nyc-discusfanatics.com/face/dragonball/AccountActivate.asp?UserID="&strID&"'>Activate my account.</a>" &_ "<br/><br/>Thanks for your registration." &_ "<br/><br/><br/>Vincent" &_ "<br/><br/>Administrator of NYC-Discusfanatics.com" &_ "</body>" &_ "</html>" cdoMessage.Send Set cdoMessage = Nothing Set cdoConfig = Nothing
I got return email that the mail fail to deliever to AOL user. I assuming AOL email doesn't accept ASP script embedded in the email?
Currently I have online survey, which uses ASP and Access database. Now, I wanted a email send to the sender after they hit submit, what should I do? I don't know where to start! My server is running on WIN2000AdvanceServer.
I have this asp page (see code below). It grabs the values from the previous page and populates the email which gets sent to the recipient from the person bidding on his product. I need to grab the bidder's email address (he is logged in when sending this email) from the database.
I can't seem to figure out the code for grabbing a logged in visitor's information from the database to display in the "From" field. Can anyone help? I need the code that grabs his email address, and the code that goes in the "mailer.from" variable to populate that field. Here's the code:
Is it possible to create an ASP page that can notify the user that they have an email on our Exchange server? And that will list the number of unread emails they have waiting in their inbox.
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 ....
My app lists jobs for a recruiter. He wants to track members who have replied directly to job postings. So instead of simply making the client's email address an <a href="mailto:...> link, I need to do 2 things:
- add a record of their posting to a database table - open the email client to the job
Howe do I do this? The first part is easy, but I don't know how to open the email client in an ASP command (I don't really want to auto-sed email, just open the client and let the user attach their resume and add their cover latter). Do I have to get my Web Hosting company to install CDO, or is that standard with all IIS? I get an error when I try to run 'Set MailObj = CreateObject("CDONTS.NewMail")'