+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Save inputted password as a variable and then email it

  1. #11
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Save inputted password as a variable and then email it

    Hi Alejandro,

    Yes, SetupBuilder can handle regular expressions (see attached screenshot).

    Friedrich
    Attached Images Attached Images  

  2. #12
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Save inputted password as a variable and then email it

    Hi Alejandro,

    If you are interested, please re-download:

    http://www.lindersoft.com/projects/ValidatePassword.zip

    I have added a very simple regex to validate an email address.

    Friedrich
    Attached Images Attached Images  

  3. #13

    Default Re: Save inputted password as a variable and then email it

    Friedrich,

    I did what you mentioned and it worked, I added a 3step password verification, where uppercase+lowercase+number mix must be met in order to accept it.
    Can the application send email on its own? I looked through the SetupBuilder 8.1 Help and found nothing about it. So, an alternative that I found was: Post to HTTP Server where a Mail Server is installed and that server is the one in charge of sending the mail. What do you think?

    Alejandro.

  4. #14
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Save inputted password as a variable and then email it

    Alejandro,

    Yes, "Post to HTTP Server..." is the correct way to handle it (it's not an alternative! it's the only valid solution!!). For example, you send the information to your web server (formmail.pl or another cgi or sendmail system) and this sends the email via your mail server.

    Friedrich

  5. #15

    Default Re: Save inputted password as a variable and then email it

    Friedrich,

    Is .php also viable? Because I would like to do a test.com/index.php?mail=%MAIL%&pass=%PW%. The way of doing this is: Destination url: test.com/index.php and text to post: mail=%MAIL%&pass=%PW%. Is that correct? Or do I have to add the ? at the end of the destination URL or does the text to post automatically add it?

    Alejandro.

  6. #16
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Save inputted password as a variable and then email it

    Alejandro,

    That is something you have to check with your server administrator. The installer only posts the HTTP stream (in whatever format you need). The server side has to process it. The screenshot you see for "Post to HTTP Server..." has the valid commands for a standard formmail.pl script. But you can use whatever you want (no need to use formmail.pl).

    Friedrich

  7. #17

    Default Re: Save inputted password as a variable and then email it

    Friedrich,

    I wish to know if there's a way to make the installer open a webpage after the installation is complete, because I have been trying to make it "Post to HTTP Server" to connect to my domain in order to execute the email script but it doesn't seem to be doing anything. If I run that URL manually, it works fine, but not from the installer.

    Alejandro.

  8. #18
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Save inputted password as a variable and then email it

    Alejandro,

    If it does not work, then you are doing something wrong (perhaps wrong expected format, etc.). Post to HTTP is a standard function.

    For example:

    http://www.lindersoft.com/forums/sho...6564#post76564

    You can even retrieve the HTTP contents back from the server. We are using this in most Consulting projects (e.g. serial number verification, etc.).

    BTW, to open a web site, just use the "Run Program" script function and enter the web address and mark the "Open Web Page" checkbox.

    Friedrich

  9. #19

    Default Re: Save inputted password as a variable and then email it

    Friedrich,

    I approached this in another manner:

    I downloaded WGET from GnuWin32 and all its dependancies, I then made a wget command sending post values to my website and that worked.

    Alejandro.

  10. #20
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Save inputted password as a variable and then email it

    Alejandro,

    Glad it's working fine!

    BTW, if you can do it with wget then you can do the same with "Post to HTTP...".

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •