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
Printable View
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
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?
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 :D
ASP or ASP.Net ?
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:
Can you clarify?Quote:
purchased I want to automatically send the user their login ID and pwd
Gary
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 :D
Duplicate Threads Merged
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
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.
Thanks for the help!
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
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