Reply to Thread

Post a reply to the thread: Save inputted password as a variable and then email it

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 10-02-2014, 09:19 AM
    linder

    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
  • 10-02-2014, 07:49 AM
    LiquidIce

    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-02-2014, 05:50 AM
    linder

    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
  • 10-02-2014, 04:56 AM
    LiquidIce

    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.
  • 09-29-2014, 08:28 AM
    linder

    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
  • 09-29-2014, 08:15 AM
    LiquidIce

    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.
  • 09-29-2014, 08:09 AM
    linder

    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
  • 09-29-2014, 07:59 AM
    LiquidIce

    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.
  • 09-29-2014, 06:37 AM
    linder

    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
  • 09-29-2014, 05:53 AM
    linder

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

    Hi Alejandro,

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

    Friedrich
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

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