I have a problem to implement an acknowledgment when a user submits a form.
I want the user to receive an email to inform him that his request has been taken into account.
I use sharepoint 2010 and I have a javascript script and an aspx page.
I managed to set up the form with sending email internally but I'm stuck on sending an email acknowledgment.
My javascript code:
function registerTraining() {
var path = $(location).attr('href');
var capchallenge = Recaptcha.get_challenge();
var capresponse = Recaptcha.get_response();
try {
var parameters = '{ "url" : "' + cleanJSONString(path) +
...My fields
'", "captchachallenge" : "' + capchallenge +
'", "captcharesponse" : "' + capresponse + '" }';
$.ajax ...
Go to the complete details ...