dcsimg
Results 1 to 13 of 13

Thread: How To: Automate - email user their new pwd

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    9

    Question 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

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    104,121

    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?

  3. #3

  4. #4
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,834

    Re: How To: Automate - email user their new pwd

    ASP or ASP.Net ?
    Please mark you thread resolved using the Thread Tools as shown



    www.techreceipe.tk


  5. #5
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,966

    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

  6. #6
    Fanatic Member Satal Keto's Avatar
    Join Date
    Dec 2005
    Location
    Me.Location
    Posts
    518

    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

  7. #7
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: How To: Automate - email user their new pwd

    Duplicate Threads Merged
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  8. #8

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    9

    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

  9. #9
    Fanatic Member Satal Keto's Avatar
    Join Date
    Dec 2005
    Location
    Me.Location
    Posts
    518

    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.

  10. #10

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    9

    Re: How To: Automate - email user their new pwd

    Thanks for the help!

  11. #11
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,966

    Re: How To: Automate - email user their new pwd

    Quote Originally Posted by Satal Keto View Post
    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

  12. #12

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    9

    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

  13. #13
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,966

    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
  •  



Featured


Click Here to Expand Forum to Full Width