I am trying to create a question and answer style quiz on a website, using forms. I would like the submit button to email the user only, from a field he/she has previously filled in, but I can't figure out how. Also, advice on whether php is the best language to write this in?
I am very new to this and would really appreciate any help. Many thanks
use the phpmailer function to send emails using php. You can read more about it here and get the library from github here
Related
I am using a custom Parse server hosted on Heroku.
My overall goal is for a unique PFUser to be created through someone clicking a button or a activation link in an email.
I have figured out how to send emails using Send Grid, however I have no idea how to make a custom button or link in the email that will execute some unique code.
My ideal work flow is:
User inputs unique username and password then clicks sign up
An email is sent to the users email with a button or a link
Once they click the button or link, somehow unique code is executed which signs up a new PFUser using the username and password that the user originally inputed.
I know how to do the first two steps, but have no idea how to execute the unique code from an email.
How is executing unique code from an email usually done? I have read something about tokens being used?
Could someone please outline for me how this process works and where I can go to learn all about executing unique code from emails?
Thanks, I appreciate all the help!
Code is never executed from email because it is a severe security risk.
To implement something like you're describing, you would send an email to the new user with a unique link to a web page like http://yoursite.com/confirmation/?id=some_unique_id_like_a_UUID
Then on you write the web page (at http://yoursite.com/confirmation/) to read that id value and then do the action that "signs up a new PFUser using the username and password that the user originally inputed."
I just created a Google form for online enquiries for my business. I set it up so that it sends an email to the person who submits the form using the "FormEmailer" script but my question is, is there a way I can give that person or more specifically that FormEmailer generated email a unique "Reference" number at the time of submission?
Thanks in advance.
Dan
Absolutely, if you are willing to do some coding on your own.
You may want to look at the recently launched Form Notification add-on for Google Forms, which also sends emails to people who respond to a form. This add-on is meant to be a code sample, and you can find the source code on GitHub, and a quickstart about it in the Apps Script documentation.
To do what you are asking, you would just need to copy the code and add another "Reference number" field to the RespondentNotification template, and then modify the sendRespondentNotification() function accordingly. Alternatively, you can just insert the reference number into the email subject in that function.
Note that this add-on has some limitations: the number of emails sent out (like all of Apps Script) are subject to quota limits. In addition, the add-on isn't really meant used for forms with multiple collaborators/editors. However, Form Notifications should give you a good idea of how to write scripts that respond well to form submissions.
I have this form on Google Drive and was wondering would it be possible to go back to the form after the user has submitted/clicked the survey. Currently once the survey has been completed it gives a message to the users saying thank you for your response. My survey is linked with a spreadsheet where it collects all the feedback. Do I need to add some kind of code within the script editor to do this and if so which one? I tried searching for answers and the closest search I have come across is this one:
Google App Script: Auto Refresh after form submission
I appreciate if anyone could provide help or advice on how to do this.
To simplifer what I want:
1) Have the form completed and submitted. It should then load saying thank you and reload the survey so the next person can complete it without having to click back or refresh the page.
I hope this makes sense to everyone.
Many thanks
Daniel
I am working on a project where we send emails to user. Now what i want is instead of user logging-in back into our system to reply, if he replies back to that email(whichever email account he got email to). It should automatically be attached back in our system.
Can somebody share their views on how to go on about this? or any suggestions on whats a best way to do this.
Many Thanks
You can do this using the auto-reply function in HmailServer.
Simply go to the administration windows, select an account, select the auto-reply function and set the subject and the body.
If you want to do this programatically, you can use the COM API, it can be used using various programming languages.
I have created the Info path form.
Once the new form created i need to send the email to users which the user selected in the people picker field.
Is that possible to do this using Designer,or VS 2010.
Give some reference to do this.
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/817c0905-be9c-4b69-aee6-1c5043fc835c/