|
-
Jun 21st, 2010, 09:03 PM
#1
Thread Starter
New Member
How To: Automate - email user their new pwd
I have an asp shopping cart and when purchased I want to automatically send the user their login ID and pwd using ASP/VB.
Any ideas?
Cheers,
Dave
-
Jun 21st, 2010, 09:47 PM
#2
Re: How To: Automate - email user their new pwd
If you're using ASP/VB6 then your question belongs in the ASP forum. This forum is for VB.NET. Can you confirm what version you're using?
-
Jun 22nd, 2010, 12:23 AM
#3
Re: How To: Automate - email user their new pwd
If you're using ASP.Net then if you have a look at the following class, which allows you to send emails from an SMTP server.
http://www.satalketo.co.uk/vbnet-art...et-application
Hope this helps
Satal
If you find a response helpful then remember to Rate it
Personal website Sam Jenkins
-
Jun 22nd, 2010, 12:50 AM
#4
Re: How To: Automate - email user their new pwd
Please mark you thread resolved using the Thread Tools as shown
-
Jun 22nd, 2010, 01:15 AM
#5
Re: How To: Automate - email user their new pwd
QEDDave,
You are going to have to give us more to work on than that?!?
What shopping cart are you referring to? Can you provide a link?
Also, I am not sure what you are referring to when you say:
purchased I want to automatically send the user their login ID and pwd
Can you clarify?
Gary
-
Jun 22nd, 2010, 05:01 AM
#6
Re: How To: Automate - email user their new pwd
If you have a look at
http://www.satalketo.co.uk/vbnet-art...et-application
(It says for VB.Net but it can be used in ASP.Net)
You can use that to send an email from your website, if it uses ASP.Net, but as the posters above have commented you would need to provide more information in order for us to help your further.
Hope this helps
Satal
If you find a response helpful then remember to Rate it
Personal website Sam Jenkins
-
Jun 22nd, 2010, 06:13 AM
#7
Re: How To: Automate - email user their new pwd
-
Jun 22nd, 2010, 09:47 AM
#8
Thread Starter
New Member
Re: How To: Automate - email user their new pwd
Sorry about that Guys, kinda left out some details didn't I!
The shopping cart is from NOP Commerce and is in asp.net 3.
My game plan is:
- user buys a "seat" at my site
- I have a routine then generate them a pwd and email them their login ID and pwd
- they login and the pwd tells me what user level they purchased.
Cheers,
DC
-
Jun 22nd, 2010, 04:27 PM
#9
Re: How To: Automate - email user their new pwd
Well we have provided you with a link to a pre-made class that will deal with sending an email through SMTP for you (here).
If you look at http://www.satalketo.co.uk/vbnet-art...ate-a-password (also in my sig) then that will show you a method of generating a random password.
To be honest though, you have said that you're using a pre-made e-commerce CMS. That should be able to deal with user management. Usually the user registers and then purchases items, rather than purchase items and then registers.
If you find a response helpful then remember to Rate it
Personal website Sam Jenkins
-
Jun 22nd, 2010, 05:29 PM
#10
Thread Starter
New Member
Re: How To: Automate - email user their new pwd
-
Jun 23rd, 2010, 01:04 AM
#11
Re: How To: Automate - email user their new pwd
 Originally Posted by Satal Keto
To be honest though, you have said that you're using a pre-made e-commerce CMS. That should be able to deal with user management. Usually the user registers and then purchases items, rather than purchase items and then registers.
Agreed. I am not entirely sure I understand the thought processes between what you are doing.
Perhaps if you provide some more details about what you are doing, suggestions can be made about how to continue.
Gary
-
Jun 23rd, 2010, 10:59 AM
#12
Thread Starter
New Member
Re: How To: Automate - email user their new pwd
Well my game plan is that the user guests at the site, then purchases. At that point I want to send them their confirmation and a pwd. That pwd is used to control the field-by-field access level in the website.
I don't want to handle the pwd bit manually and was hoping to automate the process. I've the likes of it done elsewhere and want to use asp/vb.
Hope I've explained it better, and really appreciate the help.
Cheers
DC
-
Jun 24th, 2010, 01:12 AM
#13
Re: How To: Automate - email user their new pwd
You have explained it, yes, but it still seems to go against the grain in terms of how things are normally done. For instance, you go to Amazon, you can't make a purchase until you register with the site. I would go as far as to say that this is the same for all sites on the internet. Why not first have your guests register with the site, create an account, and in the process a password, then they can log in, and provide them with the access that they have, based on the purchases that they later make.
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|