Announcement

Collapse
No announcement yet.

Send email after user validates with activation code

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Send email after user validates with activation code

    Does SC have a built in ability to send an email to a newly registered user AFTER that user validates their email address by clicking on the 'Activate your subscription' link in the first email?

    I need to send a 'Welcome' email after the user's email has been validated with the activation code.
    Thanks
    Ed

  • #2
    ?? You mean with an application you build yourself??
    Of course you can simply build a scriptcase application that handles a validation. Just store the email with a randomised string and send the url with the randomiseed string as parameter. e.g. https://mysite/myapp?activate=abcdef12345 (your random string here).
    Then in your code catch the activate=... find it in your table and activate the user by for example doing an update sql statement.

    Comment


    • #3
      Excellent. I see how you've put the SC elements together to accomplish my objective. Hopefully, I'll start to see the SC fundamental elements soon

      The only disadvantage as I see it is, because I'm using the built-in Security model, if I ever re-run the Security App setup I need to remember to change the 'New User' link on the login form to point to my custom form.
      Thanks
      Ed

      Comment


      • #4
        Humm, In (Security module generated) app_Login application, when I change the link value of the "New User" link, the value reverts back to the original value when I save. What am I missing that keeps me from changing the link target?
        Ed

        Comment


        • #5
          Resolved. Stupid me, I didn't see the very big "Update" button in the "Values format" session of "Fields->Links".
          Ed

          Comment

          Working...
          X