how to send user registration information to a website or through email?
Hi,
I wrote a simple installer that ask user to fill out information in a custom page. Is there any way to send the user information back to me through email or a website?
Thanks!
Function RegistrationPage
!insertmacro MUI_HEADER_TEXT "Software" "Registration Form"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "registration.ini"
; read user input
!insertmacro MUI_INSTALLOPTIONS_READ $NAME "registration.ini" "Field 2" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $COMPANY "registration.ini" "Field 4" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $ADDRESS "registration.ini" "Field 6" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $EMAIL "registration.ini" "Field 8" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $PHONE "registration.ini" "Field 10" "State"
; write user inputs to file
WriteINIStr "$EXEDIR\userinfo.ini" "Product" "Name" "NetWorkSpaces Pro"
WriteINIStr "$EXEDIR\userinfo.ini" "Product" "Version" ${VERSION}
WriteINIStr "$EXEDIR\userinfo.ini" "User Contact" Name $NAME
WriteINIStr "$EXEDIR\userinfo.ini" "User Contact" Company $COMPANY
WriteINIStr "$EXEDIR\userinfo.ini" "User Contact" Address $ADDRESS
WriteINIStr "$EXEDIR\userinfo.ini" "User Contact" Email $EMAIL
WriteINIStr "$EXEDIR\userinfo.ini" "User Contact" Phone $PHONE
FunctionEnd