- am trying to complete my own project for online marketing E-learning application
- the plan is:
- client download the (AMS EXE file)
- client fill the form (name, ...etc)
- hard serial input generate automatic by dll file and invisible for the client
- client email the form (with hard serial input)


- I make payment with a company phone credit card numbers (for reasons)
- I will generate serials and send them by email (manually)
- if the equation of the serial match with equation in exe file (based on HDserial) then application WORK FOR ONE COMPUTER ONLY.
* my problem is: how (simple and effective way) to send inputs in the image to my email
- I used mail.php >>> it send empty message.
- I used (send email) in AMS window .. didn't work
- I used html code in AMS code.. didn't work
The code is:
-- clear error variable
error = 0;
-- Get values from input fields
hardse = Input.GetText("Input2");
name = Input.GetText("Input22");
country = Input.GetText("Input333");
town = Input.GetText("Input4");
email = Input.GetText("Input5");
mobile = Input.GetText("Input6");
zaincard = Input.GetText("Input7");
-- check for empty fields and deliver errors if needed
if String.Length(hardse) < 1 then
Dialog.Message("Error", "Please enter your name and re-submit. Thank you.");
error = 1;
end
if String.Length(country) < 1 then
Dialog.Message("Error", "Please enter your country and re-submit. Thank you.");
error = 1;
end
if String.Length(town) < 1 then
Dialog.Message("Error", "Please enter your town and re-submit. Thank you.");
error = 1;
end
if String.Length(email) < 1 then
Dialog.Message("Error", "Please enter your email and re-submit. Thank you.");
error = 1;
end
if String.Length(mobile) < 1 then
Dialog.Message("Error", "Please enter your mobile and re-submit. Thank you.");
error = 1;
end
if String.Length(zaincard) < 1 then
Dialog.Message("Error", "Please enter your Zain Credit Card and re-submit. Thank you.");
error = 1;
end
if error~=1 then
-- if no errors exist, send the email now and give a confirmation dialog
HTTP.Submit("http://www.artiagraphics.com/mail.php", {hardse=hardse, name=name, country=country, town=town, email=email, zaincard=zaincard, mobile=mobile}, SUBMITWEB_POST, 20, 80, nil, nil);
Dialog.Message("Success", "Success, your info has been submitted.");
end
- the plan is:
- client download the (AMS EXE file)
- client fill the form (name, ...etc)
- hard serial input generate automatic by dll file and invisible for the client
- client email the form (with hard serial input)



- I make payment with a company phone credit card numbers (for reasons)
- I will generate serials and send them by email (manually)
- if the equation of the serial match with equation in exe file (based on HDserial) then application WORK FOR ONE COMPUTER ONLY.
* my problem is: how (simple and effective way) to send inputs in the image to my email
- I used mail.php >>> it send empty message.
- I used (send email) in AMS window .. didn't work
- I used html code in AMS code.. didn't work
The code is:
-- clear error variable
error = 0;
-- Get values from input fields
hardse = Input.GetText("Input2");
name = Input.GetText("Input22");
country = Input.GetText("Input333");
town = Input.GetText("Input4");
email = Input.GetText("Input5");
mobile = Input.GetText("Input6");
zaincard = Input.GetText("Input7");
-- check for empty fields and deliver errors if needed
if String.Length(hardse) < 1 then
Dialog.Message("Error", "Please enter your name and re-submit. Thank you.");
error = 1;
end
if String.Length(country) < 1 then
Dialog.Message("Error", "Please enter your country and re-submit. Thank you.");
error = 1;
end
if String.Length(town) < 1 then
Dialog.Message("Error", "Please enter your town and re-submit. Thank you.");
error = 1;
end
if String.Length(email) < 1 then
Dialog.Message("Error", "Please enter your email and re-submit. Thank you.");
error = 1;
end
if String.Length(mobile) < 1 then
Dialog.Message("Error", "Please enter your mobile and re-submit. Thank you.");
error = 1;
end
if String.Length(zaincard) < 1 then
Dialog.Message("Error", "Please enter your Zain Credit Card and re-submit. Thank you.");
error = 1;
end
if error~=1 then
-- if no errors exist, send the email now and give a confirmation dialog
HTTP.Submit("http://www.artiagraphics.com/mail.php", {hardse=hardse, name=name, country=country, town=town, email=email, zaincard=zaincard, mobile=mobile}, SUBMITWEB_POST, 20, 80, nil, nil);
Dialog.Message("Success", "Success, your info has been submitted.");
end
Comment